diff --git a/config.php b/config.php index 6e63cf3..cbffabc 100644 --- a/config.php +++ b/config.php @@ -5,6 +5,7 @@ $postgres_uri = getenv('DATABASE_URL'); preg_match('#^postgres://(.*):(.*)@(.*):(.*)/(.*)$#', getenv('DATABASE_URL'), $matches); + print_r($matches); define('DB_TYPE', "pgsql"); define('DB_HOST', $matches[3]); define('DB_USER', $matches[1]);