2
Hi!
I found bug (at least on my installation, xoops-2.0.5, php4.0.2, win)
At 'Smarty.class.php' there is:
// file 'Smarty.class.php' line 52
define('DIR_SEP', DIRECTORY_SEPARATOR);
but DIRECTORY_SEPARATOR isn't defined any where in code, i.e. Smarty
try do join directories by string 'DIRECTORY_SEPARATOR', i.e. _plugins
is not filled by functions from 'plugins' directory.
I solved whis problem by:
// file 'Smarty.class.php'
if (substr(PHP_OS, 0, 3) == "WIN" || substr(PHP_OS, 0, 4) == "OS/2")
define('DIR_SEP', "\\");
else
define('DIR_SEP', "/");
Ilya