cvs: smarty / NEWS /libs Smarty.class.php
| From: | Monte Ohrt | Date: | Mon, 05 May 2003 14:41:22 +0000 |
| Subject: | cvs: smarty / NEWS /libs Smarty.class.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-586@lists.php.net to get a copy of this message | ||
mohrt Mon May 5 10:41:22 2003 EDT
Modified files:
/smarty NEWS
/smarty/libs Smarty.class.php
Log:
keep DIR_SEP for 3rd party compatability
Index: smarty/NEWS
diff -u smarty/NEWS:1.360 smarty/NEWS:1.361
--- smarty/NEWS:1.360 Mon May 5 10:37:56 2003
+++ smarty/NEWS Mon May 5 10:41:22 2003
@@ -1,4 +1,4 @@
- - remove DIR_SEP, use DIRECTORY_SEPARATOR exclusively (Monte)
+ - use DIRECTORY_SEPARATOR exclusively, keep DIR_SEP for BC (Monte)
- changed "link" to "href" in html_image. "link" is still working
but deprecated (messju)
- html_image always renders an alt-tag now (default alt="") (messju)
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.390 smarty/libs/Smarty.class.php:1.391
--- smarty/libs/Smarty.class.php:1.390 Mon May 5 10:37:57 2003
+++ smarty/libs/Smarty.class.php Mon May 5 10:41:22 2003
@@ -42,13 +42,17 @@
* @version 2.5.0
*/
-/* $Id: Smarty.class.php,v 1.390 2003/05/05 14:37:57 mohrt Exp $ */
+/* $Id: Smarty.class.php,v 1.391 2003/05/05 14:41:22 mohrt Exp $ */
/**
* set SMARTY_DIR to absolute path to Smarty library files.
* if not defined, include_path will be used. Sets SMARTY_DIR only if user
* application has not already defined it.
*/
+
+if(!defined('DIR_SEP')) {
+ define('DIR_SEP', DIRECTORY_SEPARATOR);
+}
/**
* Sets SMARTY_DIR only if user application has not already defined it