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. 

Changed path /public to root directory.

!!!NEEDS TO BE TESTED!!!
This commit is contained in:
JulianPrieber 2022-02-14 13:26:42 +01:00 committed by GitHub
parent 38f5cfa521
commit 506cecbdac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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';