From 5bdc9bdb608e542d079bbad22dec317bc064b847 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 5 Nov 2008 09:29:15 +0000 Subject: [PATCH] Updated template entry -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 | 1 + 1 file changed, 1 insertion(+) diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc b/gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc index 27de8a512..46367d30b 100644 --- a/gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc +++ b/gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc @@ -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= ""; } -- 2.30.2