- 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
This commit is contained in:
vdigital
2008-12-28 14:23:22 +00:00
parent 3fc39d5491
commit b0fe06558e
+2 -2
View File
@@ -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');