Code

Fixed paths
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Nov 2005 07:59:06 +0000 (07:59 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Nov 2005 07:59:06 +0000 (07:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1931 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_printerPPDDialog.inc

index dc359d9fb7cbd9ec5e5ef5e50a7d5abc8dea262c..8515a1b49b89f990fb3d044991af793485b4689f 100644 (file)
@@ -30,6 +30,7 @@ class printerPPDDialog extends plugin
 
     if(isset($_SESSION['config']->data['MAIN']['PPD_PATH'])){
       $this->pathToPPD = $_SESSION['config']->data['MAIN']['PPD_PATH'];
+       $this->pathToPPD= preg_replace("/\/*$/", "/", $this->pathToPPD);
     }else{
       $this->pathToPPD = "";
     }