- ini_set usage is sometimes prohibited.

git-svn-id: http://piwigo.org/svn/branches/2.0@3023 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital 2008-12-28 14:19:54 +00:00
parent 636bbed6d2
commit 75d28ba5c6

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');