Enabling debug mode for php
This commit is contained in:
parent
b44cbb68d9
commit
dcb5186d89
|
|
@ -41,7 +41,7 @@ error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
|
||||||
* In production mode, flash messages redirect after a time interval.
|
* In production mode, flash messages redirect after a time interval.
|
||||||
* In development mode, you need to click the flash message to continue.
|
* In development mode, you need to click the flash message to continue.
|
||||||
*/
|
*/
|
||||||
Configure::write('debug', 0);
|
Configure::write('debug', 2);
|
||||||
|
|
||||||
Configure::write('version', '1.0.1');
|
Configure::write('version', '1.0.1');
|
||||||
|
|
||||||
|
|
@ -79,13 +79,13 @@ $production_hosts = array('cmc.lan', '192.168.0.7', 'cmcbeta.lan', 'office.cmcte
|
||||||
|
|
||||||
$basedir = '/var/www/cmc-sales/app/';
|
$basedir = '/var/www/cmc-sales/app/';
|
||||||
Cache::config('default', array(
|
Cache::config('default', array(
|
||||||
'engine' => 'File', //[required]
|
'engine' => 'File', //[required]
|
||||||
'duration'=> 3600, //[optional]
|
'duration'=> 3600, //[optional]
|
||||||
'probability'=> 100, //[optional]
|
'probability'=> 100, //[optional]
|
||||||
'path' => '/home/cmc/cmc-sales/app/tmp/', //[optional] use system tmp directory - remember to use absolute path
|
'path' => '/home/cmc/cmc-sales/app/tmp/', //[optional] use system tmp directory - remember to use absolute path
|
||||||
'prefix' => 'cake_', //[optional] prefix every cache file with this string
|
'prefix' => 'cake_', //[optional] prefix every cache file with this string
|
||||||
'lock' => false, //[optional] use file locking
|
'lock' => false, //[optional] use file locking
|
||||||
'serialize' => true,
|
'serialize' => true,
|
||||||
));
|
));
|
||||||
|
|
||||||
Configure::write('email_directory', '/var/www/emails');
|
Configure::write('email_directory', '/var/www/emails');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue