- 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:
parent
636bbed6d2
commit
75d28ba5c6
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue