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:
parent
38f5cfa521
commit
506cecbdac
|
@ -14,8 +14,8 @@ $uri = urldecode(
|
||||||
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
|
// 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
|
// built-in PHP web server. This provides a convenient way to test a Laravel
|
||||||
// application without having installed a "real" web server software here.
|
// 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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once __DIR__.'/public/index.php';
|
require_once __DIR__.'index.php';
|
||||||
|
|
Loading…
Reference in New Issue