From 7d95c07d84e0a7ee5ccffa8f4fa5374ddeef3df2 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Sat, 6 Jul 2013 10:48:21 +1000 Subject: [PATCH] Supressing errors in core.php --- app/config/core.php | 13 +++++++++++++ cake/bootstrap.php | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/app/config/core.php b/app/config/core.php index cd9d2ab4..4036635f 100644 --- a/app/config/core.php +++ b/app/config/core.php @@ -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')); + + + + } diff --git a/cake/bootstrap.php b/cake/bootstrap.php index 0a28e555..5325b8c9 100755 --- a/cake/bootstrap.php +++ b/cake/bootstrap.php @@ -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')); -?> \ No newline at end of file +?>