BIP

Strona G艂贸wna Strona g艂贸wna Strona g艂贸wna Baza dokument贸w Baza dokument贸w Rejestr zmian zmiany Dost臋p do informacji dostep Statystyki statystyki Kontakt kontakt
Newsletter
Statystyki   »
stron臋 odwiedzi艂o os贸b:
4502184
ostatnia aktualizacja BIP'u:
18-07-2019
Aktualno艣ci - Turysta
Aktualno艣膰 #2
Redakcja: Administrator
Dodany: 19.01.2010, wy艣wietle艅: 968
PDF
DRUKUJ
POWR脫T

Before getting deeper into the routing system, one matter needs to be clarified. In the examples given in the previous section, there is no mention of the front controller (index.php or frontend_dev.php) in the internal URIs. The front controller, not the elements of the application, decides the environment. So all the links must be environment-independent, and the front controller name can never appear in internal URIs.

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.

PDF
DRUKUJ
POWR脫T
ZG艁O艢
NIE艢CIS艁O艢膯