diff options
author | vdigital <vdigital@piwigo.org> | 2008-12-28 14:23:22 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2008-12-28 14:23:22 +0000 |
commit | b0fe06558e184925a32b6c883d683facb0f177aa (patch) | |
tree | 35ac182bc57f91c658810fc971c2541b88dfdffa | |
parent | 3fc39d549197c5e7352a7d49e304593d06997ba7 (diff) |
- 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
-rw-r--r-- | include/common.inc.php | 4 |
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'); |