cvs: smarty / NEWS /libs Smarty.class.php
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1079537531@cvsserver> |
messju Wed Mar 17 10:32:11 2004 EDT
Modified files:
/smarty NEWS
/smarty/libs Smarty.class.php
Log:
removed '.' from the list of default resource_base_paths in
_parse_resource_name()
this should only affect _parse_resource_name() for templates, not for
php-resources and not for config_files. the latter pass two their own
resource_base_path.
http://cvs.php.net/diff.php/smarty/NEWS?r1=1.440&r2=1.441&ty=u
Index: smarty/NEWS
diff -u smarty/NEWS:1.440 smarty/NEWS:1.441
--- smarty/NEWS:1.440 Tue Feb 24 17:23:13 2004
+++ smarty/NEWS Wed Mar 17 10:32:08 2004
@@ -1,3 +1,5 @@
+ - removed '.' from the list of default template locations in
+ _parse_resource_name() (messju)
- fix avoid warning with template_exists() on an absolute paths (messju)
- fix parameters passed to resource's secure()-function (messju)
- fix handling of integer values like width and delay im
http://cvs.php.net/diff.php/smarty/libs/Smarty.class.php?r1=1.480&r2=1.481&ty=u
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.480 smarty/libs/Smarty.class.php:1.481
--- smarty/libs/Smarty.class.php:1.480 Mon Mar 15 09:50:42 2004
+++ smarty/libs/Smarty.class.php Wed Mar 17 10:32:10 2004
@@ -30,7 +30,7 @@
* @version 2.6.3-dev
*/
-/* $Id: Smarty.class.php,v 1.480 2004/03/15 14:50:42 messju Exp $ */
+/* $Id: Smarty.class.php,v 1.481 2004/03/17 15:32:10 messju Exp $ */
/**
* DIR_SEP isn't used anymore, but third party apps might
@@ -1637,7 +1637,6 @@
$_resource_base_path = (array)$params['resource_base_path'];
} else {
$_resource_base_path = (array)$this->template_dir;
- $_resource_base_path[] = '.';
}
foreach ($_resource_base_path as $_curr_path) {
$_fullpath = $_curr_path . DIRECTORY_SEPARATOR . $params['resource_name'];
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php