> Yes, that technique is used a lot. But I need to set i.e. maintenance
> mode which would route all requests to a page which states that the
> page is down for maintenance. I can of course set this in the cache
> and query it early in the controller, but as I stated there are other
> options that I cannot allow to expire. So I really need to get the
> option down in a permanent file instead of the volatile cache.

Create your config in a file called 'app_config.php' and load it with
the Configure::load method
http://book.cakephp.org/view/43/Configure-Methods#load-415

J

-- 
jon bennett - www.jben.net - blog.jben.net

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to