Changeset 7516
- Timestamp:
- 02/16/08 16:03:25 (1 year ago)
- Files:
-
- branches/1.1/UPGRADE (modified) (2 diffs)
- branches/1.1/lib/config/config/factories.yml (modified) (1 diff)
- branches/1.1/lib/config/config/settings.yml (modified) (1 diff)
- branches/1.1/lib/config/sfFactoryConfigHandler.class.php (modified) (1 diff)
- branches/1.1/lib/task/generator/skeleton/app/app/config/factories.yml (modified) (1 diff)
- branches/1.1/lib/task/generator/skeleton/app/app/config/settings.yml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/UPGRADE
r7439 r7516 403 403 404 404 The `sf_timeout` setting is not used anymore. To change the session timeout, 405 you now have to edit the `factories.yml` instead if the `settings.yml`,405 you now have to edit `factories.yml` instead of the `settings.yml`, 406 406 and change the parameters of the `user` factory: 407 407 … … 412 412 param: 413 413 timeout: 1800 # session timeout in seconds 414 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: 421 422 [yml] 423 all: 424 routing: 425 class: sfPatternRouting 426 param: 427 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. 414 429 415 430 `php.yml` configuration file branches/1.1/lib/config/config/factories.yml
r6721 r7516 46 46 param: 47 47 load_configuration: true 48 suffix: . 48 49 49 50 logger: branches/1.1/lib/config/config/settings.yml
r7501 r7516 31 31 32 32 # Routing settings 33 suffix: . # Default suffix for generated URLs. If set to a single dot (.), no suffix is added. Possible values: .html, .php, and so on.34 33 no_script_name: off # Enable the front controller name in generated URLs 35 34 branches/1.1/lib/config/sfFactoryConfigHandler.class.php
r6721 r7516 162 162 163 163 case 'routing': 164 $instances[] = sprintf(" \$class = sfConfig::get('sf_factory_routing', '%s');\n \$this->factories['routing'] = new \$class(\$this->dispatcher, array_merge(array('auto_shutdown' => false, ' suffix' => sfConfig::get('sf_suffix'), 'default_module' => sfConfig::get('sf_default_module'), 'default_action' => sfConfig::get('sf_default_action'), 'logging' => sfConfig::get('sf_logging_enabled')), sfConfig::get('sf_factory_routing_parameters', %s)));", $class, var_export(is_array($parameters) ? $parameters : array(), true));164 $instances[] = sprintf(" \$class = sfConfig::get('sf_factory_routing', '%s');\n \$this->factories['routing'] = new \$class(\$this->dispatcher, array_merge(array('auto_shutdown' => false, 'default_module' => sfConfig::get('sf_default_module'), 'default_action' => sfConfig::get('sf_default_action'), 'logging' => sfConfig::get('sf_logging_enabled')), sfConfig::get('sf_factory_routing_parameters', %s)));", $class, var_export(is_array($parameters) ? $parameters : array(), true)); 165 165 if (isset($parameters['load_configuration']) && $parameters['load_configuration']) 166 166 { branches/1.1/lib/task/generator/skeleton/app/app/config/factories.yml
r6721 r7516 63 63 # routing: 64 64 # class: sfPatternRouting 65 # param: 66 # load_configuration: true 67 # suffix: . branches/1.1/lib/task/generator/skeleton/app/app/config/settings.yml
r7501 r7516 53 53 # # Routing settings 54 54 # relative_url_root: # Default URL prefix. Use this when your symfony project is installed in a sub directory of the apache document root. 55 # suffix: . # Default suffix for generated URLs. If set to a single dot (.), no suffix is added. Possible values: .html, .php, and so on.56 55 # no_script_name: off # Enable the front controller name in generated URLs 57 56 #

