From 7efd7b08a2a7d4691db22199e27dc79c083d8ac8 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Mon, 25 Mar 2013 22:26:48 +1100 Subject: [PATCH] Turned off error reporting --- .htaccess | 1 + cake/libs/debugger.php | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index d2b6e243..747a09ca 100755 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,4 @@ +php_value error_reporting 30711 RewriteEngine on RewriteRule ^$ webroot/ [L] diff --git a/cake/libs/debugger.php b/cake/libs/debugger.php index 1e942e5f..f80d05c2 100755 --- a/cake/libs/debugger.php +++ b/cake/libs/debugger.php @@ -92,7 +92,7 @@ class Debugger extends Object { * @access public * @static */ - function &getInstance($class = null) { + function &getInstance($class = null) { static $instance = array(); if (!empty($class)) { if (!$instance || strtolower($class) != strtolower(get_class($instance[0]))) { @@ -573,5 +573,6 @@ class Debugger extends Object { if (!defined('DISABLE_DEFAULT_ERROR_HANDLING')) { Debugger::invoke(Debugger::getInstance()); + } -?> \ No newline at end of file +?>