From 8449bbe15c331d6af1f3511f5c6cf9b7971465f1 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 6 Feb 2009 14:36:16 +0000 Subject: [PATCH] Updated configuration reload in case of modified gosa.conf -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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index 20e03cc46..667cc1abf 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -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']); } } -- 2.30.2