Development

Changeset 1233

You must first sign up to be able to contribute.

Changeset 1233

Show
Ignore:
Timestamp:
04/19/06 17:09:31 (3 years ago)
Author:
francois
Message:

fixed typos in doc (no, again?)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/doc/book/content/project_creation.txt

    r1067 r1233  
    6464    web/ 
    6565 
    66 The `symfony` command should always be called from this directory to apply to the current project. 
     66>**Note**: If you have specific requirements for your project, symfony can adapt to any custom file structure. All the paths in the symfony scripts use a set of special parameters defined in a file called `constants.php`, which can be customized as described in the [file structure chapter](file_structure.txt). 
     67 
     68The `symfony` command must always be called from a project root directory (`myproject/` in the example above), because all the tasks perfomed by this command are project specific. If called from one of the project subdirectories, the command will raise an error. 
    6769 
    6870Application Setup 
     
    9193`index.php` is the *production* front controller of the new application. Because you created the first application of the project, Symfony created a file called `index.php` instead of `myapp.php` (if you now add a new application called `mynewapp`, the new production front controller will be named `mynewapp.php`). To run your application in the *development* environment, call the front controller `myapp_dev.php`.  
    9294 
    93 >**Note**: if you carefully read the introduction, you may wonder where the `myapp_test.php` file is located. As a matter of fact, the *test* environment is used to do unit testing of your applications components and doesn't require a front controller. Refer to the [unit testing chapter](test_unit_testing.txt) to learn more about it. 
     95>**Note**: If you carefully read the introduction, you may wonder where the `myapp_test.php` file is located. As a matter of fact, the *test* environment is used to do unit testing of your applications components and doesn't require a front controller. Refer to the [unit testing chapter](test_unit_testing.txt) to learn more about it. 
    9496 
    9597From now on, the `/home/steve/myproject/` directory will be considered as the root of your project. The root path is stored in a constant called `SF_ROOT_DIR`, defined in the file `index.php`, and we will use this name instead of the real path to avoid confusing the readers who aren't named Steve. 
     
    101103 
    102104    <Directory "/$data_dir/symfony/web/sf"> 
    103      AllowOverride All 
    104      Allow from All 
     105      AllowOverride All 
     106      Allow from All 
    105107    </Directory> 
    106108    <VirtualHost *:80> 
     
    111113 
    112114      <Directory "/home/steve/myproject/web"> 
    113        AllowOverride All 
    114        Allow from All 
     115        AllowOverride All 
     116        Allow from All 
    115117      </Directory> 
    116118    </VirtualHost> 
     
    173175The example below assumes that $SVNREP_DIR is defined as an environment variable.  If you don't have it defined, you will need to substitute the actual location of the repository in place of $SVNREP_DIR. 
    174176 
    175 So lets **create** the new repository for the `myproject` project: 
     177So let's **create** the new repository for the `myproject` project: 
    176178 
    177179    $ svnadmin create $SVNREP_DIR/myproject 
  • trunk/doc/book/content/upload.txt

    r1231 r1233  
    1010------------------- 
    1111 
    12 Uploading a file requires a form in a template, and an action to handle it. For the template, use the `file_upload_tag()` helper in a form declared as `multipart`: 
     12Uploading a file requires a form in a template, and an action to handle it. For the template, use the `input_file_tag()` helper in a form declared as `multipart`: 
    1313 
    1414    [php]