Smarty OS/2 fix
| From: | Francesco Ciprianii | Date: | Wed, 07 Nov 2001 21:55:52 +0000 |
| Subject: | Smarty OS/2 fix | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1847@lists.php.net to get a copy of this message | ||
Hello everybody,
I've just joined this list, I've been using Smarty for six months.
I'm using Smarty under OS/2 Warp 4.0, and have a bug report about
the use of the dir separator char: Smarty only checks if the system is
a win*, but OS/2 uses "\" too.
So, line 81 of Config.class.php should become:
if (substr(PHP_OS, 1, 3) == "WIN" || substr(PHP_OS, 1, 4) == "OS/2")
Doing so, all seems to work ok (even if I've only tested clear_all_cache)
Bye
Francesco Cipriani