mirror of
https://github.com/jakejarvis/spoons.git
synced 2026-10-01 20:25:40 -04:00
fix check for heroku db
This commit is contained in:
1 parent
8af377fdb7
commit
da31b934ee
1 file changed
+1
-1
+1
-1
@@ -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'];
|
||||
|
||||
Reference in new issue
Block a user