aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/common.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 55fec5fa4..bebeb5ed9 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -95,8 +95,8 @@ include(PHPWG_ROOT_PATH . 'include/config_default.inc.php');
if(isset($conf['show_php_errors']) && !empty($conf['show_php_errors']))
{
- ini_set('error_reporting', $conf['show_php_errors']);
- ini_set('display_errors', true);
+ @ini_set('error_reporting', $conf['show_php_errors']);
+ @ini_set('display_errors', true);
}
include(PHPWG_ROOT_PATH . 'include/constants.php');