Jump to content

Include Core Functions in outside php file.


Recommended Posts

Im trying to include the PrestaShop core functions in an outside php file using "require config" but once the file is included I get redirected to the PrestaShop site. 

require_once(dirname(__FILE__).'/../config/config.inc.php');

Any ideas on how to include core functions from Prestashop in another platform or external php file?

Edited by DigitalA (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...