jessemania Posted December 10, 2004 Posted December 10, 2004 Hello, I put a custome php script into the include file. catalog/include/file.php I'm trying to access it from another php script in: catalog/include/language/english/ and this line isn't working: <?php require(DIR_WS_INCLUDES/ . 'file.php'); ?> How can I change the first part so the script can find the other script? Thanks, jesse
Jack_mcs Posted December 10, 2004 Posted December 10, 2004 Hello, I put a custome php script into the include file.catalog/include/file.php I'm trying to access it from another php script in: catalog/include/language/english/ and this line isn't working: <?php require(DIR_WS_INCLUDES/ . 'file.php'); ?> How can I change the first part so the script can find the other script? Thanks, jesse <{POST_SNAPBACK}> Your syntax is wrong. Try<?php require(DIR_WS_INCLUDES . 'file.php'); ?> Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.