is there two different codebases or one for both?
if one, then you need to specify the db you use whilst making queries or set a default one..
i cant see why else it would be using same
There are two different code bases. When I test the browser http: //api.local/test it connects to the database that is configured at http://api.local. But when I test at http://site.local with a get_file_contents('http://api.local/test') it connects to the database set in http: //site.local
shez1983 said:
is there two different codebases or one for both?
if one, then you need to specify the db you use whilst making queries or set a default one..
i cant see why else it would be using same
apparently was a caching problem, i can solve with the command:
$ php artisan config:cache
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community