NetVicious Posted October 8, 2018 Share Posted October 8, 2018 Hi! We're using a webservice to load and get all the information from the Prestashop. The developer of the application told us he needs to have the prestashop with the developer mode enabled. We want to know if there it's a way to add a little if on defines.inc.php and add something like: If ( $is_service ) define('_PS_MODE_DEV_', true); That line would allow us to set the DEV mode for the webservice and normal mode for the rest of users/customers. Regards, Link to comment Share on other sites More sharing options...
Rolige Posted October 12, 2018 Share Posted October 12, 2018 If is called with the webservice native of PS you can check if there is a "key" or some parameter required in the webservice call, if not, of course you will need add some parameter in the URL to identify it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now