Code

Updated gosa.conf to read 'instancePassword' from the gosa.conf
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Nov 2010 06:51:48 +0000 (06:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Nov 2010 06:51:48 +0000 (06:51 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20211 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_config.inc

index ad4d2fc7cb21fb67596d168c141053d2477d548d..5df8c8ef85976088d2bc713834ba584df0e0ad0b 100644 (file)
@@ -65,6 +65,7 @@ class config  {
     var $last_modified = 0;
 
     var $instanceUUID = "";
+    var $instancePassword = "";
 
     private $jsonRPChandle = NULL; 
 
@@ -188,6 +189,9 @@ class config  {
             if(isset($attrs['INSTANCEUUID'])){
                 $this->instanceUUID = $attrs['INSTANCEUUID'];
             }
+            if(isset($attrs['INSTANCEPASSWORD'])){
+                $this->instancePassword = $attrs['INSTANCEPASSWORD'];
+            }
         }
 
         /* Return if we're not in config section */