debug parameters

This commit is contained in:
2018-12-15 08:36:42 +01:00
parent 9826939516
commit bce84f515a

View File

@@ -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]);