From 66f4eb2096de4115a41f89f1241892098602d73c Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 14 Nov 2005 08:33:31 +0000 Subject: [PATCH] Fixed url stripping git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1932 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_printGeneric.inc | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index 819d495db..2641ae79e 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -1,12 +1,5 @@ attrs['gotoPrinterPPD'])) { - $str = $method.$_SERVER['SERVER_NAME']."/ppd/"; - $this->attrs['gotoPrinterPPD'] = $str.$this->attrs['gotoPrinterPPD']; - $this->attrs['gotoPrinterPPD'] = str_replace("//","/",$this->attrs['gotoPrinterPPD']); + $this->attrs['gotoPrinterPPD'] = $this->attrs['gotoPrinterPPD']; + $this->attrs['gotoPrinterPPD'] = $method.$_SERVER['SERVER_NAME']."/ppd/". + str_replace("//","/",$this->attrs['gotoPrinterPPD']); } /* Append printer user -- 2.30.2