Fixed php artisan serve
This commit is contained in:
parent
cd808a15a6
commit
cf388ddfa7
|
@ -15,6 +15,10 @@ $app = new Illuminate\Foundation\Application(
|
||||||
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
|
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$app->bind('path.public', function () {
|
||||||
|
return dirname(__DIR__);
|
||||||
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Bind Important Interfaces
|
| Bind Important Interfaces
|
||||||
|
|
|
@ -18,4 +18,4 @@ if ($uri !== '/' && file_exists(__DIR__.$uri)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once __DIR__.'index.php';
|
require_once __DIR__.'/index.php';
|
||||||
|
|
Loading…
Reference in New Issue