From: hickert Date: Wed, 5 Nov 2008 09:29:15 +0000 (+0000) Subject: Updated template entry X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5bdc9bdb608e542d079bbad22dec317bc064b847;p=gosa.git Updated template entry -Replace // to / git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12920 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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= ""; }