Code

Added initial_base
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Mar 2007 18:48:23 +0000 (18:48 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Mar 2007 18:48:23 +0000 (18:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5947 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_config.inc

index b00926aba365a403fff9ce24793ad592cafc2cfe..762c6e0f91510fe01dc74e672eddb143d97d8df6 100644 (file)
@@ -241,6 +241,10 @@ class config  {
     if (!isset($this->current['GROUPS'])){
       $this->current['GROUPS']= "ou=groups";
     }
+
+    if (isset($this->current['INITIAL_BASE'])){
+      $_SESSION['CurrentMainBase']= $this->current['INITIAL_BASE'];
+    }
   
     /* Remove possibly added ',' from end of group and people ou */
     $this->current['GROUPS'] = preg_replace("/,*$/","",$this->current['GROUPS']);