From ea23a8c75c85e8687b83ff6d5a246939c5146f4a Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Tue, 18 Dec 2001 02:25:55 +0000 Subject: [PATCH] set phpgw_info to an empty array at the top --- setup/applications.php | 1 + setup/applist.php | 3 ++- setup/config.php | 1 + setup/index.php | 1 + setup/lang.php | 1 + setup/ldap.php | 1 + setup/ldapexport.php | 1 + setup/ldapimport.php | 1 + setup/ldapmodify.php | 1 + setup/schematoy.php | 2 ++ setup/sqltoarray.php | 1 + 11 files changed, 13 insertions(+), 1 deletion(-) diff --git a/setup/applications.php b/setup/applications.php index 3d762d3483..3e1481d444 100644 --- a/setup/applications.php +++ b/setup/applications.php @@ -17,6 +17,7 @@ // out from under other apps. e.g. if they select to uninstall the api // this will happen without further warning. + $phpgw_info = array(); $GLOBALS['phpgw_info']['flags'] = array( 'noheader' => True, 'nonavbar' => True, diff --git a/setup/applist.php b/setup/applist.php index 9b0b2d0026..2c1e8b334a 100644 --- a/setup/applist.php +++ b/setup/applist.php @@ -11,7 +11,8 @@ /* $Id$ */ - $phpgw_info['flags'] = array( + $phpgw_info = array(); + $GLOBALS['phpgw_info']['flags'] = array( 'noheader' => True, 'nonavbar' => True, 'currentapp' => 'home', diff --git a/setup/config.php b/setup/config.php index e484310fad..327dd5d1fa 100644 --- a/setup/config.php +++ b/setup/config.php @@ -11,6 +11,7 @@ /* $Id$ */ + $phpgw_info = array(); $GLOBALS['phpgw_info']['flags'] = array( 'noheader' => True, 'nonavbar' => True, diff --git a/setup/index.php b/setup/index.php index 4fcabcc1a0..0b71393440 100644 --- a/setup/index.php +++ b/setup/index.php @@ -16,6 +16,7 @@ // page explaining what to do from there (ie, create there own account) $DEBUG = False; + $phpgw_info = array(); $GLOBALS['phpgw_info']['flags'] = array( 'noheader' => True, 'nonavbar' => True, diff --git a/setup/lang.php b/setup/lang.php index a6201f1ff9..5aa7e378c4 100644 --- a/setup/lang.php +++ b/setup/lang.php @@ -11,6 +11,7 @@ /* $Id$ */ + $phpgw_info = array(); if (!$included) { $GLOBALS['phpgw_info']['flags'] = array( diff --git a/setup/ldap.php b/setup/ldap.php index 87c553c116..33375c7ff6 100644 --- a/setup/ldap.php +++ b/setup/ldap.php @@ -11,6 +11,7 @@ /* $Id$ */ + $phpgw_info = array(); $GLOBALS['phpgw_info']['flags'] = array( 'noheader' => True, 'nonavbar' => True, diff --git a/setup/ldapexport.php b/setup/ldapexport.php index ed4e12e4f4..7b090cf9ec 100644 --- a/setup/ldapexport.php +++ b/setup/ldapexport.php @@ -11,6 +11,7 @@ /* $Id$ */ + $phpgw_info = array(); $phpgw_info["flags"] = array( 'noheader' => True, 'nonavbar' => True, diff --git a/setup/ldapimport.php b/setup/ldapimport.php index a84c9a5984..1c914361a0 100644 --- a/setup/ldapimport.php +++ b/setup/ldapimport.php @@ -11,6 +11,7 @@ /* $Id$ */ + $phpgw_info = array(); $phpgw_info["flags"] = array( 'noheader' => True, 'nonavbar' => True, diff --git a/setup/ldapmodify.php b/setup/ldapmodify.php index c08b588f2d..ad4dfb8808 100644 --- a/setup/ldapmodify.php +++ b/setup/ldapmodify.php @@ -11,6 +11,7 @@ /* $Id$ */ + $phpgw_info = array(); $phpgw_info["flags"] = array( 'noheader' => True, 'nonavbar' => True, diff --git a/setup/schematoy.php b/setup/schematoy.php index 431e96200e..875d3707e0 100644 --- a/setup/schematoy.php +++ b/setup/schematoy.php @@ -12,6 +12,8 @@ /* $Id$ */ $DEBUG = True; + + $phpgw_info = array(); $GLOBALS['phpgw_info']['flags'] = array( 'noheader' => True, 'nonavbar' => True, diff --git a/setup/sqltoarray.php b/setup/sqltoarray.php index 98f5467daa..8346489c1e 100644 --- a/setup/sqltoarray.php +++ b/setup/sqltoarray.php @@ -11,6 +11,7 @@ /* $Id$ */ + $phpgw_info = array(); $GLOBALS['phpgw_info']['flags'] = array( 'noheader' => True, 'nonavbar' => True,