mirror of
https://github.com/jakejarvis/spoons.git
synced 2025-04-26 12:18:27 -04:00
fix check for heroku db
This commit is contained in:
parent
8af377fdb7
commit
da31b934ee
@ -4,7 +4,7 @@
|
||||
$site_password = getenv('SITE_PASSWORD');
|
||||
|
||||
/* database config */
|
||||
if(isset(getenv('JAWSDB_URL'))) {
|
||||
if(getenv('JAWSDB_URL') !== null) {
|
||||
$db_parts = parse_url(getenv('JAWSDB_URL'));
|
||||
|
||||
$db_host = $db_parts['host'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user