From: cajus Date: Fri, 30 Mar 2007 18:48:23 +0000 (+0000) Subject: Added initial_base X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a5c0d9327949c29b1ae24d5f65e2eaabf27af2d1;p=gosa.git Added initial_base git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5947 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_config.inc b/include/class_config.inc index b00926aba..762c6e0f9 100644 --- a/include/class_config.inc +++ b/include/class_config.inc @@ -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']);