sliver
sliver copied to clipboard
Sliver fails to start if environment is the only source of DB name
My team has some projects where mysite is shared across multiple sites as a composer module. The global $database variable is the empty string and the DB name is entirely defined by SS_DATABASE_PREFIX & SS_DATABASE_SUFFIX via ConfigureFromEnv. Under such conditions, sliver fails to initialise with the message "Please configure your database connection details."
@oddnoc thanks for the report. Do you have any suggestions for a way to make this work?
I banged on it for a bit and came a cropper. I tried including mysite/_config.php, but maybe I did not have it at the right bit of the sliver script.