Development

Changeset 7518 for branches/1.1/UPGRADE

You must first sign up to be able to contribute.

Show
Ignore:
Timestamp:
02/16/08 22:57:54 (9 months ago)
Author:
fabien
Message:

moved default_module and default_action configuration to factories.yml

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/UPGRADE

    r7516 r7518  
    413413          timeout:     1800     # session timeout in seconds 
    414414 
    415 Routing default suffix 
    416 ---------------------- 
    417  
    418 The `sf_suffix` setting is not used anymore. To change the default suffix, 
    419 you now have to edit `factories.yml` instead of `settings.yml`, 
    420 and change the parameters of the `routing` factory: 
     415Routing configuration 
     416--------------------- 
     417 
     418The `sf_suffix`, `sf_default_module`, and `sf_default_action` settings are not 
     419used anymore. To change the default suffix, module, or action, you now have 
     420to edit `factories.yml` instead of `settings.yml`, and change the parameters 
     421of the `routing` factory: 
    421422 
    422423    [yml] 
     
    426427        param: 
    427428          load_configuration: true 
    428           suffix:             .     # Default suffix for generated URLs. If set to a single dot (.), no suffix is added. Possible values: .html, .php, and so on. 
     429          suffix:             .       # Default suffix for generated URLs. If set to a single dot (.), no suffix is added. Possible values: .html, .php, and so on. 
     430          default_module:     default # Default module and action to be called when 
     431          default_action:     index   # A routing rule doesn't set it 
    429432 
    430433`php.yml` configuration file