-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to configure for Multiple DBs and Instance IDs? #53
Comments
That's not possible right now but something that is on my personal TODO list. I run 3 servers and it would be nice to be able to switch between the instances at will. |
How are you managing that today? Is it easy to configure the location of the assets (which make up the majority of the install). I was thinking of having a common directory with all the images in and then just keep the server specific code/config in a single directory. |
I maintain copies of config.php for my servers and just copy in the one I want as needed. Painful but effective. |
I have multiple virtual directories in my webserver all pointing to the same BlissAdmin directory on the hard drive.
This block overrides the values that are different for namalsk compared to the first server which i defined in the variables at the beginning of the file. |
p-schneider that's a neat solution (but might be too technical for the average BlissAdmin user). I haven't written a line of code yet but in my mind I see $config turning into an array or arrays and a drop down menu in the UI to select between the configs. |
That is a good fix p-schneider, though I think your substr command is really specific to your URL. I use a more general stristr -- if(stristr($_SERVER["SCRIPT_URL"],"namalsk")) |
Wondering if that is possible without having to replicate the install?
The text was updated successfully, but these errors were encountered: