From 506cecbdac716eb585374d84f6d4a0f7833ad61f Mon Sep 17 00:00:00 2001 From: JulianPrieber <60265788+JulianPrieber@users.noreply.github.com> Date: Mon, 14 Feb 2022 13:26:42 +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.  Changed path /public to root directory. !!!NEEDS TO BE TESTED!!! --- server.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.php b/server.php index 5fb6379..a2a68f3 100755 --- a/server.php +++ b/server.php @@ -14,8 +14,8 @@ $uri = urldecode( // This file allows us to emulate Apache's "mod_rewrite" functionality from the // built-in PHP web server. This provides a convenient way to test a Laravel // application without having installed a "real" web server software here. -if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { +if ($uri !== '/' && file_exists(__DIR__.$uri)) { return false; } -require_once __DIR__.'/public/index.php'; +require_once __DIR__.'index.php';