hogiedada Posted January 29, 2003 Share Posted January 29, 2003 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. Cheers My Epitaph: "I use to have intestinal fortitude." Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.