Skip to content

Commit 9c8f5de

Browse files
mmikkeltaylorotwell
authored andcommitted
Fixes issue #244, where the Craft CMS admin panel is inaccessible (#252)
1 parent 3704eb6 commit 9c8f5de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/drivers/CraftValetDriver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ public function frontControllerPath($sitePath, $siteName, $uri)
175175
$_SERVER['SCRIPT_FILENAME'] = $indexPath;
176176
$_SERVER['SERVER_NAME'] = $_SERVER['HTTP_HOST'];
177177
$_SERVER['SCRIPT_NAME'] = $scriptName;
178+
$_SERVER['PHP_SELF'] = $scriptName;
178179

179180
return $indexPath;
180181
}

0 commit comments

Comments
 (0)