Fixed php artisan serve

This commit is contained in:
Julian Prieber 2023-08-27 15:54:52 +02:00
parent cd808a15a6
commit cf388ddfa7
2 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,10 @@ $app = new Illuminate\Foundation\Application(
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
);
$app->bind('path.public', function () {
return dirname(__DIR__);
});
/*
|--------------------------------------------------------------------------
| Bind Important Interfaces

View File

@ -18,4 +18,4 @@ if ($uri !== '/' && file_exists(__DIR__.$uri)) {
return false;
}
require_once __DIR__.'index.php';
require_once __DIR__.'/index.php';