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:
z0rglub
2004-02-24 23:10:37 +00:00
parent fe34ce4046
commit 76f75f3042
+1
View File
@@ -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',