From b2ef9378f217c988af67f062e8b41cdcc652f54e Mon Sep 17 00:00:00 2001 From: JulianPrieber <60265788+JulianPrieber@users.noreply.github.com> Date: Mon, 14 Feb 2022 13:02:46 +0100 Subject: [PATCH] Change public path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- public/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/index.php b/public/index.php index a8137b1..6b4173c 100755 --- a/public/index.php +++ b/public/index.php @@ -16,8 +16,8 @@ define('LARAVEL_START', microtime(true)); | */ -if (file_exists(__DIR__.'/../storage/framework/maintenance.php')) { - require __DIR__.'/../storage/framework/maintenance.php'; +if (file_exists(__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);