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 cd808a1 commit cf388ddCopy full SHA for cf388dd
bootstrap/app.php
@@ -15,6 +15,10 @@
15
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
16
);
17
18
+$app->bind('path.public', function () {
19
+ return dirname(__DIR__);
20
+});
21
+
22
/*
23
|--------------------------------------------------------------------------
24
| Bind Important Interfaces
server.php
@@ -18,4 +18,4 @@
return false;
}
-require_once __DIR__.'index.php';
+require_once __DIR__.'/index.php';
0 commit comments