Changeset 11179
- Timestamp:
- 08/26/08 23:07:14 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doc/branches/1.0/book/09-Links-and-the-Routing-System.txt
r11079 r11179 148 148 There is no script name in the examples of generated URLs either. This is because generated URLs don't contain any script name in the production environment by default. The `no_script_name` parameter of the `settings.yml` file precisely controls the appearance of the front controller name in generated URLs. Set it to `off`, as shown in Listing 9-5, and the URLs output by the link helpers will mention the front controller script name in every link. 149 149 150 Listing 9-5 - Showing the Front Controller Name in URLs, in `apps/myapp/ settings.yml`150 Listing 9-5 - Showing the Front Controller Name in URLs, in `apps/myapp/config/settings.yml` 151 151 152 152 prod: doc/branches/1.1/book/09-Links-and-the-Routing-System.txt
r10728 r11179 148 148 There is no script name in the examples of generated URLs either. This is because generated URLs don't contain any script name in the production environment by default. The `no_script_name` parameter of the `settings.yml` file precisely controls the appearance of the front controller name in generated URLs. Set it to `off`, as shown in Listing 9-5, and the URLs output by the link helpers will mention the front controller script name in every link. 149 149 150 Listing 9-5 - Showing the Front Controller Name in URLs, in `apps/frontend/ settings.yml`150 Listing 9-5 - Showing the Front Controller Name in URLs, in `apps/frontend/config/settings.yml` 151 151 152 152 prod: doc/branches/1.2/book/09-Links-and-the-Routing-System.txt
r10728 r11179 148 148 There is no script name in the examples of generated URLs either. This is because generated URLs don't contain any script name in the production environment by default. The `no_script_name` parameter of the `settings.yml` file precisely controls the appearance of the front controller name in generated URLs. Set it to `off`, as shown in Listing 9-5, and the URLs output by the link helpers will mention the front controller script name in every link. 149 149 150 Listing 9-5 - Showing the Front Controller Name in URLs, in `apps/frontend/ settings.yml`150 Listing 9-5 - Showing the Front Controller Name in URLs, in `apps/frontend/config/settings.yml` 151 151 152 152 prod: