From: cajus Date: Mon, 14 Nov 2005 08:33:31 +0000 (+0000) Subject: Fixed url stripping X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=66f4eb2096de4115a41f89f1241892098602d73c;p=gosa.git Fixed url stripping git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1932 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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