diff --git a/config.php b/config.php index cbffabc..7ece19f 100644 --- a/config.php +++ b/config.php @@ -3,8 +3,8 @@ // *** Database configuration (important!) *** // ******************************************* - $postgres_uri = getenv('DATABASE_URL'); preg_match('#^postgres://(.*):(.*)@(.*):(.*)/(.*)$#', getenv('DATABASE_URL'), $matches); + print_r(getenv('DATABASE_URL')); print_r($matches); define('DB_TYPE', "pgsql"); define('DB_HOST', $matches[3]);