Code

Updated config flags
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 May 2010 09:29:07 +0000 (09:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 May 2010 09:29:07 +0000 (09:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18096 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/contrib/gosa.conf
gosa-core/include/class_configRegistry.inc
gosa-core/include/class_plugin.inc

index 3dd986d9ffe9a98714ff5a66b3ed5ee45bf20d88..6c6d576adb2269af2071682e6807f53d0f3d0c40 100644 (file)
 {else}
         forceGlobals="false"
 {/if}
-{if $cv.optional.forcessl}
+{if $cv.optional.forceSSL}
         forceSSL="true"
 {else}
         forceSSL="false"
 {else}
         ldapStats="false"
 {/if}
-{if $cv.optional.warnssl}
+{if $cv.optional.warnSSL}
         warnSSL="true"
 {else}
         warnSSL="false"
         language="{$cv.lang_selected}"
         theme="{$cv.theme}"
         sessionLifetime="{$cv.optional.session_lifetime}"
-        templateCompileDirectory="{$cv.optional.compile}"
-        debugLevel="{$cv.optional.debuglevel}"
+        templateCompileDirectory="{$cv.optional.templateCompileDirectory}"
+        debugLevel="{$cv.optional.debugLevel}"
         sambaHashHook='{$cv.samba_settings.smbhash}'
     >
 
index acfc29171f768be715469c2cd4e7b5be39e577a4..e0e09f94fcf5ee4f77248d840f9a9fe41426553a 100644 (file)
@@ -128,6 +128,10 @@ class configRegistry{
 
     function propertyExists($class,$name)
     {
+        if(!isset($this->mapByName[$class][$name])){
+        print_a(array($class,$name));
+
+        }
         return(isset($this->mapByName[$class][$name]));
     }
 
index 86f04f7d209e4a7be028b29f36ae1cc13bd42e58..93eab234c35da1f18d2c1ccfd99449fa64bf686e 100644 (file)
@@ -1527,7 +1527,8 @@ class plugin
   static function callHook($plugin, $cmd, $addAttrs= array())
   {
     global $config;
-    $command= $config->search(get_class($plugin), $cmd,array('menu','tabs'));
+    $command = $config->configRegistry->getPropertyValue(get_class($plugin),$cmd);
+    
     if ($command != ""){
 
       // Walk trough attributes list and add the plugins attributes.