From da31b934ee551cc96aec46547278901b1e68a2a0 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Sun, 16 Jul 2017 13:22:47 -0400 Subject: [PATCH] fix check for heroku db --- public/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/config.php b/public/config.php index 24e46c8..80b23fa 100644 --- a/public/config.php +++ b/public/config.php @@ -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'];