Skip to content

Commit

Permalink
[skip ci][doc] update Laravel valet driver
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheron committed Jan 7, 2022
1 parent ec828ec commit d6ef538
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/confproject.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ Create ``UbiquityValetDriver.php`` under ``~/.config/valet/Drivers/`` add below
* @return string
*/
public function frontControllerPath($sitePath, $siteName, $uri){
$sitePath.='/public';
$_SERVER['DOCUMENT_ROOT'] = $sitePath;
$_SERVER['SCRIPT_NAME'] = '/index.php';
$_SERVER['SCRIPT_FILENAME'] = $sitePath . '/index.php';
Expand Down

0 comments on commit d6ef538

Please sign in to comment.