summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d272698)
raw | patch | inline | side by side (parent: d272698)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 28 Jun 2005 07:19:04 +0000 (07:19 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 28 Jun 2005 07:19:04 +0000 (07:19 +0000) |
include/php_setup.inc | patch | blob | history |
diff --git a/include/php_setup.inc b/include/php_setup.inc
index 5fcfd69d0689d6628d27cd9d06c0b0dfa7dcd0d6..e746e41409943bfcd6a84cfe03b0fb610a45713c 100644 (file)
--- a/include/php_setup.inc
+++ b/include/php_setup.inc
}
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;