cvs: smarty / NEWS /libs/plugins function.html_image.php

From: Date: Mon, 21 Apr 2003 17:42:51 +0000
Subject: cvs: smarty / NEWS /libs/plugins function.html_image.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-559@lists.php.net to get a copy of this message
messju Mon Apr 21 13:42:51 2003 EDT Modified files: /smarty NEWS /smarty/libs/plugins function.html_image.php Log: fixed errornous creation of '//' in image_path in html_image Index: smarty/NEWS diff -u smarty/NEWS:1.350 smarty/NEWS:1.351 --- smarty/NEWS:1.350 Mon Apr 21 12:17:26 2003 +++ smarty/NEWS Mon Apr 21 13:42:50 2003 @@ -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) Index: smarty/libs/plugins/function.html_image.php diff -u smarty/libs/plugins/function.html_image.php:1.13 smarty/libs/plugins/function.html_image.php:1.14 --- smarty/libs/plugins/function.html_image.php:1.13 Sun Apr 20 17:11:59 2003 +++ smarty/libs/plugins/function.html_image.php Mon Apr 21 13:42:50 2003 @@ -90,7 +90,7 @@ } if(substr($file,0,1) == DIR_SEP) { - $_image_path = $basedir . DIR_SEP . $file; + $_image_path = $basedir . $file; } else { $_image_path = $file; }

« previous php.smarty.cvs (#559) next »