mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
Add option to turn off display_errors
This commit is contained in:
@@ -87,7 +87,10 @@ include(PHPWG_ROOT_PATH .'include/dblayer/functions_'.$conf['dblayer'].'.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);
|
||||
if($conf['show_php_errors_on_frontend'])
|
||||
{
|
||||
@ini_set('display_errors', true);
|
||||
}
|
||||
}
|
||||
|
||||
if ($conf['session_gc_probability'] > 0)
|
||||
|
||||
Reference in New Issue
Block a user