Mounir Posted June 14, 2018 Share Posted June 14, 2018 Hi, I'm currently trying to install and use GIT with prestashop for my developers team, but i'm facing a problem. I want a single prestashop application for each developers and i want them to use the same database. The problem is that the ps_shop_url can store only 1 shop url. My question is, where can i find the file where that url is retrieved ? I've been searching for ages and i still cannot find where. Thanks for helping ! Link to comment Share on other sites More sharing options...
Koen Amant Posted June 14, 2018 Share Posted June 14, 2018 Default_Shop_ID = 1 'place here your defaut shop ID DB_Prefix = "ps_" SQL = "SELECT domain FROM " & DB_Prefix & "shop_url WHERE id_shop=" & Default_Shop_ID & ";" Here you have the query to get the shop URL. Link to comment Share on other sites More sharing options...
Mounir Posted June 14, 2018 Author Share Posted June 14, 2018 (edited) Thank you for your answer but this is not what i'm trying to find. I need to find the Core php file which contains the code used to retrieve this url. I just want to override this file so that my developers can work on the same database Edited June 15, 2018 by Mounir (see edit history) 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