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
My config file is called custom.php
<?php
Configure::load('custom');
Configure::read('Company.name');
?>
HTH
--
Mike Karthäuser
Mike Karthäuser
Managing Director - Brightstorm Ltd
Email: mikek@brightstorm.co.uk
Web: http://www.brightstorm.co.uk
Tel: 07939 252144
Email: mikek@brightstorm.co.uk
Web: http://www.brightstorm.co.uk
Tel: 07939 252144
Address: 1 Brewery Court, North Street, Bristol, BS3 1JS
No comments:
Post a Comment