Code

Updated config reload
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Dec 2008 13:58:39 +0000 (13:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Dec 2008 13:58:39 +0000 (13:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13245 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_config.inc

index 4c56f658c11df4aaabff8be8e2143c9a4fa276fa..5c36ae83be0a480010793fe7c9bb3c4c574d1796 100644 (file)
@@ -104,8 +104,15 @@ class config  {
 
 
   function parse($filename)
-  { 
-    $this->data = array(); 
+  {
+
+    $this->data = array(
+        "TABS"      => array(), 
+        "LOCATIONS" => array(), 
+        "SERVERS"   => array(), 
+        "MAIN"      => array(), 
+        "MENU"      => array(), 
+        "SERVICE"   => array());
 
     $this->last_modified = filemtime($filename);
     $this->filename = $filename;