Code

Added global "initial_base"
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Mar 2007 18:47:47 +0000 (18:47 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Mar 2007 18:47:47 +0000 (18:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5946 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_config.inc

index 7a3a5bfd3bb4d2d79a26451dbb77ccb2e260a521..c8526823400c309a8eaa8e0b21ad3c8f3f6467df 100644 (file)
@@ -241,6 +241,10 @@ class config  {
       $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']);
     $this->current['PEOPLE'] = preg_replace("/,*$/","",$this->current['PEOPLE']);