aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-12-28 14:19:54 +0000
committervdigital <vdigital@piwigo.org>2008-12-28 14:19:54 +0000
commit75d28ba5c6b7a02d69a9df7329559a91e96fab4d (patch)
tree9131acd6cf32ae4000fc8367f8468dc69d505c16
parent636bbed6d280c99cc7c5e02ddc4618209e8afd39 (diff)
- ini_set usage is sometimes prohibited.
git-svn-id: http://piwigo.org/svn/branches/2.0@3023 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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');