Development

Changeset 6872

You must first sign up to be able to contribute.

Changeset 6872

Show
Ignore:
Timestamp:
01/01/08 03:16:11 (2 years ago)
Author:
dwhittle
Message:

dwhittle: fixed/reverted app.yml is not required

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/dwhittle/1.1/lib/util/sfCore.class.php

    r6871 r6872  
    7474    // load base settings 
    7575    require_once($configCache->checkConfig(sfConfig::get('sf_app_config_dir_name').DIRECTORY_SEPARATOR.'settings.yml')); 
    76     require_once($configCache->checkConfig(sfConfig::get('sf_app_config_dir_name').DIRECTORY_SEPARATOR.'app.yml')); 
     76 
     77    if ($file = $configCache->checkConfig(sfConfig::get('sf_app_config_dir_name').'/app.yml', true)) 
     78    { 
     79      require_once($file); 
     80    } 
    7781 
    7882    // force setting default timezone if not set 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.