diff --git a/config/database.php b/config/database.php index 137ad18..8a9c595 100644 --- a/config/database.php +++ b/config/database.php @@ -46,11 +46,11 @@ 'mysql' => [ 'driver' => 'mysql', 'url' => env('DATABASE_URL'), - 'host' => env('DB_HOST', '127.0.0.1'), - 'port' => env('DB_PORT', '3306'), - 'database' => env('DB_DATABASE', 'forge'), - 'username' => env('DB_USERNAME', 'forge'), - 'password' => env('DB_PASSWORD', ''), + 'host' => getenv('DB_HOST', '127.0.0.1'), + 'port' => getenv('DB_PORT', '3306'), + 'database' => getenv('DB_DATABASE', 'forge'), + 'username' => getenv('DB_USERNAME', 'forge'), + 'password' => getenv('DB_PASSWORD', ''), 'unix_socket' => env('DB_SOCKET', ''), 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', diff --git a/openshift/temp/.gitignore b/openshift/temp/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/openshift/temp/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore