Feature request from samc2810, posted on GitHub Jul 05, 2016
I asked this question in the community already but no one seems to know the solution. so I ll try my luck here:
Magento 1 had a very cool feature that one could configure store-config in the app/etc/local.xml instaed of the DB. e.g.
<stores>
<admin>
<web>
<unsecure>
<base_url>http://admin.localhost.de/</base_url>
</unsecure>
<secure>
<base_url>http://admin.localhost.de/</base_url>
</secure>
</web>
</admin>
<de>
<web>
<unsecure>
<base_url>http://store-de.localhost.de/</base_url>
</unsecure>
<secure>
<base_url>http://store-de.localhost.de/</base_url>
</secure>
</web>
</de>
<en>
<web>
<unsecure>
<base_url>http://store-en.localhost.de/</base_url>
</unsecure>
<secure>
<base_url>http://store-en.localhost.de/</base_url>
</secure>
</web>
</en>
</store>
is there any way to achieve this in M2? The reason is that we want to use the same DB for our dev and local systems. but, it seems that one can save the base_url in the db only.
Thanx and Cheers
Sam