From 76f75f30426ab7d697ffb32a9fbf1f7d4f80cfac Mon Sep 17 00:00:00 2001 From: z0rglub Date: Tue, 24 Feb 2004 23:10:37 +0000 Subject: 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 --- admin/install.php | 1 + 1 file changed, 1 insertion(+) 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', -- cgit v1.2.3