Jump to content

require config.inc.php does'nt work and load homepage instead


Recommended Posts

I'm working local in an external folder from prestashop (C:\xampp\htdocs/other_folder\script.php) and need to include or require config.inc.php in my file to call some prestashop function.


I use:



when this line is executed, it loads the homepage of the shop(index.php) and stop the script.


Version is


Can somebody explain please?

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...