> FWIW, it doesn't seems a nice option. After taking it in our project > we're scratching our heads as there doesn't seem to be a right way to > access the config values in models, views and components.
Did you find a way how to set e.g. $this->Config and access it from Ms&Cs ? I've got a configuration variable which contents are merged from variables defined in a file (loaded by Configure::read()) and from user preferences stored in db. Therefore I need to do this from within AppController or AppModel where I have access to the database... Don't know which would be the right place either for this func... Is there anyway to make this variable accessible from Models and Controllers??? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---