Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Using the cart in folders other than "shop"


Recommended Posts

How does one use all of the configuration files for the shop in another directory... I want to use the cart application in other folders and not just in the "shop" folder.


For example: I have a folder on my root called "eCards". A default.php file in this folder calls require('../shop/includes/application_top.php');


It works fine in the "shop" folder but when relative paths are corrected for the other folder I end up with this error:


Fatal error: Failed opening required 'includes/configure.php' (include_path='.:/usr/local/lib/php') in /home/shop/public_html/shop/includes/application_top.php on line 34


I'd like to keep my folder structure in tact as there are many files to administer.



My Epitaph: "I use to have intestinal fortitude."

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...