Turned off error reporting

This commit is contained in:
Karl Cordes 2013-03-25 22:26:48 +11:00
parent 4ddc568e62
commit 7efd7b08a2
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,4 @@
php_value error_reporting 30711
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine on RewriteEngine on
RewriteRule ^$ webroot/ [L] RewriteRule ^$ webroot/ [L]

View file

@ -92,7 +92,7 @@ class Debugger extends Object {
* @access public * @access public
* @static * @static
*/ */
function &getInstance($class = null) { function &getInstance($class = null) {
static $instance = array(); static $instance = array();
if (!empty($class)) { if (!empty($class)) {
if (!$instance || strtolower($class) != strtolower(get_class($instance[0]))) { if (!$instance || strtolower($class) != strtolower(get_class($instance[0]))) {
@ -573,5 +573,6 @@ class Debugger extends Object {
if (!defined('DISABLE_DEFAULT_ERROR_HANDLING')) { if (!defined('DISABLE_DEFAULT_ERROR_HANDLING')) {
Debugger::invoke(Debugger::getInstance()); Debugger::invoke(Debugger::getInstance());
} }
?> ?>