We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a254dbd commit d637b4aCopy full SHA for d637b4a
src/Illuminate/Database/Connectors/SQLiteConnector.php
@@ -30,6 +30,10 @@ public function connect(array $config)
30
31
$path = realpath($config['database']);
32
33
+ if (! file_exists($path)) {
34
+ $path = realpath(base_path($config['database']));
35
+ }
36
+
37
// Here we'll verify that the SQLite database exists before going any further
38
// as the developer probably wants to know if the database exists and this
39
// SQLite driver will not throw any exception if it does not by default.
0 commit comments