Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #194 from pricop/patch-2
Browse files Browse the repository at this point in the history
Clear DB Manager cached config values from the .env file
  • Loading branch information
rashidlaasri committed Apr 16, 2020
2 parents 9d6abdf + 4e2fab0 commit 4fdb6c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Controllers/EnvironmentController.php
Expand Up @@ -140,6 +140,8 @@ private function checkDatabaseConnection(Request $request)
],
]);

DB::purge();

try {
DB::connection()->getPdo();

Expand Down

0 comments on commit 4fdb6c9

Please sign in to comment.