From: cajus Date: Tue, 28 Jun 2005 07:19:04 +0000 (+0000) Subject: Made exact match for true/false X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=81401031c87d4f49f308367ed9ca650f29d7d3b0;p=gosa.git Made exact match for true/false git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@884 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/php_setup.inc b/include/php_setup.inc index 5fcfd69d0..e746e4140 100644 --- a/include/php_setup.inc +++ b/include/php_setup.inc @@ -54,7 +54,8 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) } if((isset($config->data))){ - if((isset($config->data['MAIN']['DISPLAYERRORS']))&&(!preg_match("/true/i",$config->data['MAIN']['DISPLAYERRORS']))){ + if((isset($config->data['MAIN']['DISPLAYERRORS']))&&(!preg_match("/^true$/i",$config->data['MAIN']['DISPLAYERRORS']))){ + /* Write to syslog */ gosa_log ("PHP error: $errstr ($errfile, line $errline)"); return;