X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fphp_setup.inc;h=17118698f01a29f3320023dac1a2d6f22c756afb;hb=06cc53394cf695b3bc663073e526d7d94e4bb2d6;hp=c5019e70ecdcf65a9228623a98560c886f72e82f;hpb=5801083a6bae07666e1e1885c779cbc38f187209;p=gosa.git diff --git a/gosa-core/include/php_setup.inc b/gosa-core/include/php_setup.inc index c5019e70e..17118698f 100644 --- a/gosa-core/include/php_setup.inc +++ b/gosa-core/include/php_setup.inc @@ -44,7 +44,7 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) } /* Error messages are hidden in GOsa, so we only send them to the logging class and abort here */ - if(isset($config->data) && $config->get_cfg_value("displayerrors") == "true"){ + if(isset($config->data) && $config->get_cfg_value("displayerrors") != "true"){ /* Write to syslog */ if(class_exists("log") && !preg_match("/No such object/",$errstr)){ @@ -267,7 +267,7 @@ error_reporting (E_ALL | E_STRICT); $error_collector= ""; $error_collector_mailto= ""; -set_error_handler('gosaRaiseError', E_WARNING | E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) +set_error_handler('gosaRaiseError', E_WARNING | E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) ; $variables_order= "ES"; ini_set("register_globals",0);