From: cajus Date: Fri, 30 Nov 2007 13:39:37 +0000 (+0000) Subject: Reverted dojo stuff X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f79de7560f76e150e49faa3f55a5f3078151d902;p=gosa.git Reverted dojo stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7961 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/main.php b/html/main.php index 5930e4032..37a2eec73 100644 --- a/html/main.php +++ b/html/main.php @@ -154,7 +154,7 @@ if (!isset($_SESSION['plist'])){ /* Initially load all classes */ $class_list= get_declared_classes(); foreach ($class_mapping as $class => $path){ - if (!in_array($class, $class_list) && !preg_match('/\/dojo\//', $path)){ + if (!in_array($class, $class_list)){ require_once("$BASE_DIR/$path"); } } @@ -285,8 +285,6 @@ if ($_SESSION['js']==FALSE){ $smarty->assign("help_method"," onclick=\"return popup('helpviewer.php$plug','GOsa help');\""); } -$smarty->assign("dojo", $_SESSION['DOJO']); - $smarty->assign ("username", $ui->username); $smarty->assign ("go_logo", get_template_path('images/go_logo.png')); $smarty->assign ("go_base", get_template_path('images/dtree.png'));