debug parameters
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user