On 27 Jul 2010, at 19:15, Hugo M wrote:
> Hi all! What is the best place to put configuration variables (like
> Configure::write('bla', 'bla2'))? I'm doing that in core.php
look at Configure::load
http://book.cakephp.org/view/924/The-Configuration-Class
My config file is called custom.php
<?php
Configure::load('custom');
Configure::read('Company.name');
?>
HTH
--
Mike Karthäuser
Managing Director - Brightstorm Ltd
Email: [email protected]
Web: http://www.brightstorm.co.uk
Tel: 07939 252144
Address: 1 Brewery Court, North Street, Bristol, BS3 1JS
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