mirror of
https://github.com/jakejarvis/spoons.git
synced 2025-09-15 04:35:34 -04:00
fix check for heroku db
This commit is contained in:
@@ -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