aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-02-24 23:10:37 +0000
committerz0rglub <z0rglub@piwigo.org>2004-02-24 23:10:37 +0000
commit76f75f30426ab7d697ffb32a9fbf1f7d4f80cfac (patch)
treec3275217454a24ecda38a54e8995062beb442dd9
parentfe34ce40465475f54dcbccd03529fa83de42f6fd (diff)
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
-rw-r--r--admin/install.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/install.php b/admin/install.php
index 7175c81c2..8dd6a4689 100644
--- a/admin/install.php
+++ b/admin/install.php
@@ -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',