Code

Updated configuration reload in case of modified gosa.conf
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 6 Feb 2009 14:36:16 +0000 (14:36 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 6 Feb 2009 14:36:16 +0000 (14:36 +0000)
-SERVERS wasn't reloaded

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13399 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_config.inc

index 20e03cc46c91ffcd5230f5bd09626aa95219eae9..667cc1abf79479fa3ddb39fdf75101eac8e202c4 100644 (file)
@@ -84,8 +84,6 @@ class config  {
     $tmp = stat("../include/class_location.inc");
     session::global_set("class_location.inc:timestamp",$tmp['mtime']);
 
-
-
     if($this->filename != "" && filemtime($this->filename) != $this->last_modified){
 
       $this->config_found= FALSE;
@@ -99,6 +97,7 @@ class config  {
       xml_set_object($this->parser, $this);
       xml_set_element_handler($this->parser, "tag_open", "tag_close");
       $this->parse($this->filename);
+      $this->set_current($this->current['NAME']);
     }
   }