Development

Changeset 6824

You must first sign up to be able to contribute.

Changeset 6824

Show
Ignore:
Timestamp:
12/30/07 10:05:05 (10 months ago)
Author:
fabien
Message:

removed php.yml, replaced by check_configuration.php

Files:

Legend:

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

    r6748 r6824  
    388388        param: 
    389389          timeout:     1800     # session timeout in seconds 
     390 
     391`php.yml` configuration file 
     392---------------------------- 
     393 
     394The `php.yml` configuration file has been removed. 
     395 
     396The only setting you will have to check by hand is `log_errors`, which was set to `on` by `php.yml`. 
     397 
     398`php.yml` is replaced by the `check_configuration.php` utility you can find in `data/bin`. 
     399It checks your environment against symfony requirements. You can launch it from anywhere: 
     400 
     401   $ php /path/to/symfony/data/bin/check_configuration.php 
     402 
     403Even if you can use this utility from the command line, it's strongly recommended to launch it 
     404from the web by copying it under your web root directory as PHP can use different php.ini configuration 
     405files for the CLI and the web. 
  • branches/1.1/data/config/config_handlers.yml

    r6822 r6824  
    11config/autoload.yml: 
    22  class:    sfAutoloadConfigHandler 
    3  
    4 config/php.yml: 
    5   class:    sfPhpConfigHandler 
    63 
    74config/databases.yml: 
  • branches/1.1/lib/util/sfCore.class.php

    r6807 r6824  
    8585    error_reporting(sfConfig::get('sf_error_reporting')); 
    8686 
    87     $configCache->import(sfConfig::get('sf_app_config_dir_name').'/php.yml', false); 
     87    ini_set('magic_quotes_runtime', 'off'); 
    8888 
    8989    // include all config.php from plugins