3.5.0 smarty.php:
Code:
#
# Define SMARTY_DIR to avoid problems with PHP 4.2.3 & SunOS
#
define('SMARTY_DIR', $xcart_dir.DIRECTORY_SEPARATOR."Smarty-2.5.0".DIRECTORY_SEPARATOR);
if (!@include(SMARTY_DIR."Smarty.class.php")) {
echo "Can't to find template engine!";
exit;
}
3.4.9 smarty.php:
Code:
#
# If we are in subdir of X-Cart dir, then include with '../'
# else include with './'
#
if (!@include("../Smarty-2.5.0/Smarty.class.php"))
@include("./Smarty-2.5.0/Smarty.class.php");
commenting out the new code, and replacing it with the old should do the trick
Not sure why an attempt at including it a second time ../ one parent directory back before failing. (which seems to be the case here).
Anyhow, hth.
