fix of last commit, was setting up a reference to itself and not to the old phpgw_info

This commit is contained in:
Ralf Becker 2005-03-25 09:21:23 +00:00
parent cc503bdb4a
commit 729b34782e

View File

@ -19,8 +19,8 @@
error_reporting(error_reporting() & ~E_NOTICE); error_reporting(error_reporting() & ~E_NOTICE);
// for an old header, we need to setup the reference before including it // for an old header, we need to setup the reference before including it
if (!is_array($GLOBALS['egw_info'])) $GLOBALS['egw_info'] =& $GLOBALS['egw_info']; $GLOBALS['phpgw_info'] =& $GLOBALS['egw_info'];
if(file_exists('../header.inc.php')) if(file_exists('../header.inc.php'))
{ {
include('../header.inc.php'); include('../header.inc.php');