mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-07 05:44:58 +02:00
changing error reporting level to stay calm when undefined indexes are found
in language files git-svn-id: http://piwigo.org/svn/branches/release-1_3@372 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -30,6 +30,7 @@ if ( isset( $_GET['language'] ) )
|
||||
{
|
||||
$isadmin = true;
|
||||
$lang = array();
|
||||
error_reporting( E_ALL ^ E_NOTICE );
|
||||
include( '../language/'.$_GET['language'].'.php' );
|
||||
$tpl = array( 'step1_err_copy', 'step1_err_copy_2', 'step1_err_copy_next',
|
||||
'errors_title', 'step1_title','step1_host','step1_host_info',
|
||||
|
||||
Reference in New Issue
Block a user