cvs: smarty /libs/plugins function.html_image.php
| From: | Messju Mohr | Date: | Sun, 04 May 2003 22:07:10 +0000 |
| Subject: | cvs: smarty /libs/plugins function.html_image.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-582@lists.php.net to get a copy of this message | ||
messju Sun May 4 18:07:10 2003 EDT
Modified files:
/smarty/libs/plugins function.html_image.php
Log:
fixed DIR_SEP in html_image-plugin
Index: smarty/libs/plugins/function.html_image.php
diff -u smarty/libs/plugins/function.html_image.php:1.15
smarty/libs/plugins/function.html_image.php:1.16
--- smarty/libs/plugins/function.html_image.php:1.15 Sun May 4 07:32:54 2003
+++ smarty/libs/plugins/function.html_image.php Sun May 4 18:07:10 2003
@@ -93,7 +93,7 @@
return;
}
- if(substr($file,0,1) == DIR_SEP) {
+ if(substr($file,0,1) == DIRECTORY_SEPARATOR) {
$_image_path = $basedir . $file;
} else {
$_image_path = $file;