Open aurmil opened 12 years ago
That's a kind problematic. Centurion_Config_Directory::loadConfig() load all *.ini and cache it.
So it can not use any of .ini file to get configuration because they are not loaded : that the function who load it.
i don't see a big problem: 1.load config if cache is not available. 2.cache is enabled? cache it/ no - don't cache. Maybe i miss something. I was going to create a similar issue myself... I have one project in one folder running in two environments: development for localhost and production for requests from internet(customer can see progress any time he wants). Config loader cache my production config for development and backwards
config cache is created in Centurion_Config_Directory::loadConfig() it should be declared in cache.ini like other ones so I would be possible to disable it (I use to disable caches in dev)