mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
Set the $_SERVER['SCRIPT_FILENAME'] to the front controller path
This commit is contained in:
@@ -232,4 +232,5 @@ function get_valet_site_path($valetConfig, $siteName, $domain)
|
|||||||
|
|
||||||
chdir(dirname($frontControllerPath));
|
chdir(dirname($frontControllerPath));
|
||||||
|
|
||||||
|
$_SERVER['SCRIPT_FILENAME'] = $frontControllerPath;
|
||||||
require $frontControllerPath;
|
require $frontControllerPath;
|
||||||
|
|||||||
Reference in New Issue
Block a user