Code

Updated template entry
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 Nov 2008 09:29:15 +0000 (09:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 Nov 2008 09:29:15 +0000 (09:29 +0000)
-Replace // to /

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12920 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc

index 27de8a512c2b5c43a0074222feffcc8b90d9693e..46367d30b45a3d36a903eac39cbcb47cb8a153ed 100644 (file)
@@ -188,6 +188,7 @@ class faiTemplateEntry extends plugin
       if($this->acl_is_writeable("cn")){
         $cur_path = dirname($cur_path).'/'.get_post('templateFile');
       }
+      $cur_path= str_replace("//","/",$cur_path);
       if(trim($cur_path,"/") == ""){
         $cur_path= "";
       }