fixed DIR_SEP in html_image-plugin

This commit is contained in:
messju
2003-05-04 22:07:10 +00:00
parent 3a1b87f3e4
commit 7f307b8a94

View File

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