mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-18 12:17:27 +02:00
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__)
|
||||
);
|
||||
|
||||
$app->bind('path.public', function () {
|
||||
return dirname(__DIR__);
|
||||
});
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Bind Important Interfaces
|
||||
|
@ -18,4 +18,4 @@ if ($uri !== '/' && file_exists(__DIR__.$uri)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
require_once __DIR__.'index.php';
|
||||
require_once __DIR__.'/index.php';
|
||||
|
Loading…
x
Reference in New Issue
Block a user