[Solar-talk] constant in solar config array
Jeff Surgeson
solar at 3hex.com
Sat Oct 27 07:17:47 CDT 2007
Hi All
Can anyone give a reason why I should not use a constant in my solar.config
array, for example:
if(DEBUG) {
$config['Solar']['ini_set']['display_errors'] = true;
$config['Solar_Sql_Adapter_Mysql']['host'] = '127.0.0.1';
} else {
$config['Solar']['ini_set']['display_errors'] = false;
$config['Solar_Sql_Adapter_Mysql']['host'] = 'mysql-db.jeff.co.za';
}
--
...........::::::...........
Jeff Surgeson / South Africa
More information about the Solar-talk
mailing list