bedrock icon indicating copy to clipboard operation
bedrock copied to clipboard

different env for theme

Open padalec opened this issue 11 years ago • 1 comments

Hi there, grate work!! When I start use badrock I just love it! I have a little question how can I configure a DB env. for different theme? I need this because I have different db for theme. Example below:

theme1
DB_NAME = theme1
DB_USER = user_theme1
DB_PASSWORD=''
DB_HOST='localhost'
DB_PREFIX ='theme1__'
theme2
DB_NAME = theme2
DB_USER = user_theme2
DB_PASSWORD=''
DB_HOST='localhost'
DB_PREFIX ='theme2__'

I try to create a new config\environments theme1.php but DB_PREFIX doesn't work.

Regards

padalec avatar Apr 06 '15 19:04 padalec

please open a thread on https://discourse.roots.io/

retlehs avatar Apr 07 '15 17:04 retlehs