From b5b7eb4075ec77ce56a1f95733844eabd4ce8ea4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 26 Mar 2008 11:32:17 +0000 Subject: [PATCH] "setting $GLOBALS[$class], as it's used in the framework to automatic include css" --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index d36193e712..f7e479c53e 100755 --- a/index.php +++ b/index.php @@ -122,7 +122,7 @@ } require_once(EGW_INCLUDE_ROOT.'/'.$app.'/inc/class.'.$class.'.inc.php'); - $obj = new $class(); + $GLOBALS[$class] = $obj = new $class(); if((is_array($obj->public_functions) && $obj->public_functions[$method]) && !$invalid_data) { $obj->$method();