mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
bug 2974: do not display deprecated errors on a stable branch
git-svn-id: http://piwigo.org/svn/branches/2.5@24969 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -464,7 +464,7 @@ $conf['template_combine_files'] = true;
|
||||
// this permit to show the php errors reporting (see INI 'error_reporting'
|
||||
// for possible values)
|
||||
// gives an empty value '' to deactivate
|
||||
$conf['show_php_errors'] = E_ALL;
|
||||
$conf['show_php_errors'] = version_compare(PHP_VERSION, '5.3.0', '<') ? E_ALL : E_ALL ^ E_DEPRECATED;
|
||||
|
||||
// enable log for i derivative script
|
||||
$conf['enable_i_log'] = false;
|
||||
|
||||
Reference in New Issue
Block a user