From b0fe06558e184925a32b6c883d683facb0f177aa Mon Sep 17 00:00:00 2001 From: vdigital Date: Sun, 28 Dec 2008 14:23:22 +0000 Subject: - ini_set usage is sometimes prohibited. merge -c3023 from branch 2.0 to trunk git-svn-id: http://piwigo.org/svn/trunk@3024 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/common.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/common.inc.php') 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'); -- cgit v1.2.3