mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 16:10:08 +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));
|
||||
|
||||
$_SERVER['SCRIPT_FILENAME'] = $frontControllerPath;
|
||||
require $frontControllerPath;
|
||||
|
||||
Reference in New Issue
Block a user