diff --git a/app/config/core.php b/app/config/core.php index 6d5eaad3..802c2f40 100644 --- a/app/config/core.php +++ b/app/config/core.php @@ -144,7 +144,7 @@ Configure::write('Cache.disable', true); * Defines the default error type when using the log() function. Used for * differentiating error logging and debugging. Currently PHP supports LOG_DEBUG. */ -define('LOG_ERROR', 2); +define('LOG_ERROR', 0); /** * The preferred session handling method. Valid values: * diff --git a/cake/bootstrap.php b/cake/bootstrap.php index 0a28e555..b6885473 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); /** * 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 +?>