fatbloke Posted May 30, 2006 Posted May 30, 2006 Hi This code works fine in my domain.com/catalog/index.php file <?php include(DIR_WS_MODULES . FILENAME_RND_PRODUCTS); ?> But I would also like to display it outside the domain.com/catalog/ folder ( ie in folder above ) I want to add the code to a an intro page at domain.com/page.php Any idea of how I do that ? Thanks
kgt Posted May 30, 2006 Posted May 30, 2006 How many OSC files are you including? If you're including an OSC file that includes another OSC file, you have some work. If you're just including one file that doesn't include a cascade of others (like application_top.php), then you can supply an absolute path for the include file. <?php include(DIR_FS_CATALOG . DIR_WS_MODULES . FILENAME_RND_PRODUCTS); ?> (You might have to concatenate a slash after the DIR_FS_CATALOG). Contributions Discount Coupon Codes Donations
Recommended Posts
Archived
This topic is now archived and is closed to further replies.