From: hickert Date: Wed, 5 May 2010 10:04:19 +0000 (+0000) Subject: Added property class to get_cfg_requests X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=358a94e2ef4f75198483c71aea86b1042794ad4b;p=gosa.git Added property class to get_cfg_requests git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18120 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc index 5881012a4..cebe85a26 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc @@ -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."/"; } diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc index 360054533..28846fd50 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc @@ -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); diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc index 9db686415..4b131ec53 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc @@ -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); diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc index d8b427de0..d51a214f9 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -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'])){