Code

Added property class to get_cfg_requests
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 May 2010 10:04:19 +0000 (10:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 May 2010 10:04:19 +0000 (10:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18120 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc
gosa-plugins/goto/admin/systems/goto/class_terminalService.inc
gosa-plugins/goto/admin/systems/goto/class_workstationService.inc
gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc

index 5881012a44606d65fe4991e757768cb3f1960d54..cebe85a26061764c4b3959a873e657983486ca27 100644 (file)
@@ -551,8 +551,8 @@ class printgeneric extends plugin
 
     /* Parse selected ppd file */
     $config = session::get('config');
-    if ($config->get_cfg_value("ppdPath") != ""){
-      $path = $config->get_cfg_value("ppdPath");
+    if ($config->get_cfg_value("core","ppdPath") != ""){
+      $path = $config->get_cfg_value("core","ppdPath");
       if(!preg_match("/\/$/",$path)){
         $path = $path."/";
       }
@@ -824,7 +824,7 @@ class printgeneric extends plugin
 
       /* Rename the generated ppd to match the gzip ending '.gz', if necessary.
       */
-      $path = $this->config->get_cfg_value("ppdPath");
+      $path = $this->config->get_cfg_value("core","ppdPath");
       if(!preg_match("/\/$/",$path)){
         $path = $path."/";
       }
index 360054533daadc85a204f2a33386a8c3ad761dc9..28846fd5049d62352e1918fbde38063deb774000 100644 (file)
@@ -106,8 +106,8 @@ class termservice extends plugin
           "1400x1050" =>  "1400x1050",
           "1600x1200" =>  "1600x1200");
 
-    if($this->config->get_cfg_value("resolutions") != ""){
-      $file = $this->config->get_cfg_value("resolutions");
+    if($this->config->get_cfg_value("core","resolutions") != ""){
+      $file = $this->config->get_cfg_value("core","resolutions");
       if(is_readable($file)){
         $str = file_get_contents($file);
         $lines = preg_split("/\n/",$str);
index 9db68641561576e5e4ec24b1f022ded8c97342b6..4b131ec53ee2d3e83809d10751cecb9a8337ada9 100644 (file)
@@ -61,8 +61,8 @@ class workservice extends plugin
         "1400x1050" =>  "1400x1050", 
         "1600x1200" =>  "1600x1200");
 
-    if($this->config->get_cfg_value("resolutions") != ""){
-      $file = $this->config->get_cfg_value("resolutions");
+    if($this->config->get_cfg_value("core","resolutions") != ""){
+      $file = $this->config->get_cfg_value("core","resolutions");
 
       if(is_readable($file)){
         $str = file_get_contents($file);
index d8b427de0e6e5aab6e602b5717a0047ccb2e560a..d51a214f9af5cdef8fe2f7c4324bfdee6e75c4a5 100644 (file)
@@ -70,7 +70,7 @@ class workstartup extends plugin
     plugin::plugin ($config, $dn, $parent);
 
     /* Check for si daemon */
-    $this->si_active = $this->config->get_cfg_value("gosaSupportURI") != "";
+    $this->si_active = $this->config->get_cfg_value("core","gosaSupportURI") != "";
 
     /* Check object group membership */
     if(!isset($this->parent->by_object['ogroup'])){