Code

Multiple edit
[gosa.git] / html / main.php
index 5930e4032cd0b3186c9412eb29929fd05d91291b..37a2eec73c14796cb2a3bceeaddd24c303c9413c 100644 (file)
@@ -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'));