1
0
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:
Jakub Tobiasz
2021-07-02 16:33:43 +02:00
parent f1c1400b7d
commit f09e5a0c00

View File

@@ -232,4 +232,5 @@ function get_valet_site_path($valetConfig, $siteName, $domain)
chdir(dirname($frontControllerPath));
$_SERVER['SCRIPT_FILENAME'] = $frontControllerPath;
require $frontControllerPath;