From: cajus Date: Fri, 30 Mar 2007 18:47:47 +0000 (+0000) Subject: Added global "initial_base" X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=df2193cb99caf59305c49455f643d2f5d24336ee;p=gosa.git Added global "initial_base" git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5946 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_config.inc b/include/class_config.inc index 7a3a5bfd3..c85268234 100644 --- a/include/class_config.inc +++ b/include/class_config.inc @@ -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']);