keep DIR_SEP for 3rd party compatability

This commit is contained in:
mohrt
2003-05-05 14:41:22 +00:00
parent db2ff5a2ef
commit 81bb2aec77
2 changed files with 5 additions and 1 deletions

2
NEWS
View File

@@ -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 - changed "link" to "href" in html_image. "link" is still working
but deprecated (messju) but deprecated (messju)
- html_image always renders an alt-tag now (default alt="") (messju) - html_image always renders an alt-tag now (default alt="") (messju)

View File

@@ -50,6 +50,10 @@
* application has not already defined it. * 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 * Sets SMARTY_DIR only if user application has not already defined it
*/ */