Strona Główna Rejestr zmian Statystyki Kontakt
Newsletter
Statystyki   »
stronę odwiedziło osób:
3175060
ostatnia aktualizacja BIP'u:
16-04-2024
Aktualności - Turysta
Aktualność #2
Redakcja: Concept INTERMEDIA
Dodany: 19.01.2010, wyświetleń: 952
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ŚĆ