Change public path

This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

Fixed path (removed '/..' ). Index.php will be moved to into the root directory.
This commit is contained in:
JulianPrieber 2022-02-14 13:02:46 +01:00 committed by GitHub
parent 514e779025
commit b2ef9378f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,8 +16,8 @@ define('LARAVEL_START', microtime(true));
| |
*/ */
if (file_exists(__DIR__.'/../storage/framework/maintenance.php')) { if (file_exists(__DIR__.'/storage/framework/maintenance.php')) {
require __DIR__.'/../storage/framework/maintenance.php'; require __DIR__.'/storage/framework/maintenance.php';
} }
/* /*
@ -31,7 +31,7 @@ if (file_exists(__DIR__.'/../storage/framework/maintenance.php')) {
| |
*/ */
require __DIR__.'/../vendor/autoload.php'; require __DIR__.'/vendor/autoload.php';
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -44,7 +44,7 @@ require __DIR__.'/../vendor/autoload.php';
| |
*/ */
$app = require_once __DIR__.'/../bootstrap/app.php'; $app = require_once __DIR__.'/bootstrap/app.php';
$kernel = $app->make(Kernel::class); $kernel = $app->make(Kernel::class);