1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-08 01:10:08 +01:00

Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2022-12-18 21:08:41 +00:00
parent efa7937038
commit a73be25a76
13 changed files with 48 additions and 49 deletions

View File

@@ -22,16 +22,16 @@ public function serves(string $sitePath, string $siteName, string $uri): bool
/**
* Take any steps necessary before loading the front controller for this driver.
*
* @param string $sitePath
* @param string $siteName
* @param string $uri
* @param string $sitePath
* @param string $siteName
* @param string $uri
* @return void
*/
public function beforeLoading(string $sitePath, string $siteName, string $uri): void
{
putenv('FLOW_CONTEXT=Development');
putenv('FLOW_REWRITEURLS=1');
$_SERVER['SCRIPT_FILENAME'] = $sitePath . '/Web/index.php';
$_SERVER['SCRIPT_FILENAME'] = $sitePath.'/Web/index.php';
$_SERVER['SCRIPT_NAME'] = '/index.php';
}