mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- 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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user