Development

HowToHandleCrossAppsConfigurationFiles (diff)

You must first sign up to be able to contribute.

Changes between Version 4 and Version 5 of HowToHandleCrossAppsConfigurationFiles

Show
Ignore:
Author:
florian.klein (IP: 62.147.141.164)
Timestamp:
11/19/10 11:18:26 (7 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToHandleCrossAppsConfigurationFiles

    v4 v5  
    1010}}} 
    1111 
    12 You will now have to append these lines to the {{{./<appname>/config/config.php}}} of every app you want to be able to access config values from : 
     12You will now have to append these lines to the {{{./<appname>/config/<appname>Configuration.class.php}}} of every app you want to be able to access config values from : 
    1313 
    1414{{{ 
    15 require_once sfConfigCache::getInstance()->checkConfig('config/project.yml'); 
     15public function configure() 
     16
     17    require_once sfConfigCache::getInstance()->checkConfig('config/project.yml'); 
     18
    1619}}}  
    1720