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