fixed errornous creation of '//' in image_path in html_image

This commit is contained in:
messju
2003-04-21 17:42:50 +00:00
parent 4a6b5269a3
commit 448da66e39
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -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 - fix escapement of special chars for key vals in debug
console (Monte) console (Monte)
- fixed debug timing logic for config_load (Tom Sommer, Monte) - fixed debug timing logic for config_load (Tom Sommer, Monte)

View File

@@ -90,7 +90,7 @@ function smarty_function_html_image($params, &$smarty)
} }
if(substr($file,0,1) == DIR_SEP) { if(substr($file,0,1) == DIR_SEP) {
$_image_path = $basedir . DIR_SEP . $file; $_image_path = $basedir . $file;
} else { } else {
$_image_path = $file; $_image_path = $file;
} }