From df2193cb99caf59305c49455f643d2f5d24336ee Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 30 Mar 2007 18:47:47 +0000 Subject: [PATCH] Added global "initial_base" git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5946 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_config.inc | 4 ++++ 1 file changed, 4 insertions(+) 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']); -- 2.30.2