summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 358a94e)
raw | patch | inline | side by side (parent: 358a94e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 May 2010 10:04:21 +0000 (10:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 May 2010 10:04:21 +0000 (10:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18121 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/ppd/class_ppdManager.inc | patch | blob | history | |
gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/ppd/class_ppdManager.inc b/gosa-plugins/goto/admin/systems/ppd/class_ppdManager.inc
index bae18536a97e46a1db319b41b05eec50452d40c4..15a9106d007136ed7726c39ff7d841cc4fe4ddaa 100644 (file)
function ppdManager($path)
{
global $config;
- $value =$config->get_cfg_value("ppdGzip","true");
+ $value =$config->get_cfg_value("core","ppdGzip","true");
if(preg_match('/false/i',$value)){
$this->useGzip = false;
}
diff --git a/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc b/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc
index da5e4b5a94d56aac036b0468de14d8bfdf3f8478..c82c5303059b210bf05756677161b66d21223ccd 100644 (file)
/* Get PPD path and remove double //, and add trailing / */
$config = session::get('config');
- if($config->get_cfg_value("ppdPath") != ""){
- $this->pathToPPD = $config->get_cfg_value("ppdPath");
+ if($config->get_cfg_value("core","ppdPath") != ""){
+ $this->pathToPPD = $config->get_cfg_value("core","ppdPath");
$this->pathToPPD= preg_replace("/\/\//", "/", $this->pathToPPD);
if(!preg_match("/\/$/",$this->pathToPPD)){
$this->pathToPPD = $this->pathToPPD."/";
}
$str .= "</select>\n";
- }elseif($this->config->get_cfg_value("displayErrors") == "true"){
+ }elseif($this->config->get_cfg_value("core","displayErrors") == "true"){
msg_dialog::display(_("PPD error"), sprintf(_("PPD type '%s' is not supported!"), $type), ERROR_DIALOG);
}
$str .= "</td></tr>\n";