Supressing errors in core.php
This commit is contained in:
parent
0d72adb804
commit
7d95c07d84
|
|
@ -82,6 +82,19 @@ else { //Development config
|
|||
'lock' => false, //[optional] use file locking
|
||||
'serialize' => true,
|
||||
));
|
||||
|
||||
|
||||
|
||||
Configure::write('smtp_settings', array(
|
||||
'port' => '25',
|
||||
'timeout' => '30',
|
||||
'host' => 'mail.cmctechnologies.com.au',
|
||||
'username' => 'sales',
|
||||
'password' => '2seng33+02'));
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ if (!defined('PHP5')) {
|
|||
if (!defined('E_DEPRECATED')) {
|
||||
define('E_DEPRECATED', 8192);
|
||||
}
|
||||
error_reporting(E_ALL & ~E_DEPRECATED);
|
||||
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
|
||||
/**
|
||||
* Configuration, directory layout and standard libraries
|
||||
*/
|
||||
|
|
@ -49,4 +49,4 @@ error_reporting(E_ALL & ~E_DEPRECATED);
|
|||
$url = null;
|
||||
|
||||
App::import('Core', array('Dispatcher'));
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue