[SMARTY-DEV] DIR_SEP constant
| From: | boots | Date: | Thu, 27 Mar 2003 20:35:20 +0000 |
| Subject: | [SMARTY-DEV] DIR_SEP constant | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1045@lists.php.net to get a copy of this message | ||
I was wondering if it would be possible to get the following tiny
change into Smarty.class.php:
REPLACE: (line 50:)
define('DIR_SEP', DIRECTORY_SEPARATOR);
WITH: (line 50:)
if (!defined('DIR_SEP'))
{
define('DIR_SEP', DIRECTORY_SEPARATOR);
}
so that notices don't get thrown when other libraries have already
defined DIR_SEP.
Thanks
xo boots
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com