View Single Post
  #1  
Old 02-28-2005, 12:40 PM
  frankdux's Avatar 
frankdux frankdux is offline
 

Senior Member
  
Join Date: Jul 2004
Location: Manchester, NH, USA
Posts: 125
 

Default Includes Within An Include Problem

Has anyone ever ran into a problem when using the Smarty method for including a file {include file="../../includes/footer.inc"} when there are more PHP includes within the file that is being included? Because Smarty can't parse regular PHP, when I view a page's HTML I see the unparsed PHP code like <?php include("/directory/file2.php"); ?>. Just wondering if anyone had any way to get around this. I can't change all of my includes to smarty style because the code being included is used on many non-xcart pages.
__________________
X-Cart: 4.0.18
Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2
Reply With Quote