View Single Post
  #6  
Old 11-24-2003, 09:08 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

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.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote