From 448da66e391991ecbd87864514a927694468862a Mon Sep 17 00:00:00 2001 From: messju Date: Mon, 21 Apr 2003 17:42:50 +0000 Subject: [PATCH] fixed errornous creation of '//' in image_path in html_image --- NEWS | 1 + libs/plugins/function.html_image.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 281d3c40..b6f76e7d 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ + - fixed errornous creation of '//' in image_path in html_image (messju) - fix escapement of special chars for key vals in debug console (Monte) - fixed debug timing logic for config_load (Tom Sommer, Monte) diff --git a/libs/plugins/function.html_image.php b/libs/plugins/function.html_image.php index 30000056..4707225e 100644 --- a/libs/plugins/function.html_image.php +++ b/libs/plugins/function.html_image.php @@ -90,7 +90,7 @@ function smarty_function_html_image($params, &$smarty) } if(substr($file,0,1) == DIR_SEP) { - $_image_path = $basedir . DIR_SEP . $file; + $_image_path = $basedir . $file; } else { $_image_path = $file; }