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

fix wordpress permalinks

This commit is contained in:
Taylor Otwell
2016-05-06 09:29:02 -05:00
parent e4fb2f98cf
commit 9c96db1c45
2 changed files with 4 additions and 2 deletions

View File

@@ -74,11 +74,11 @@ function show_valet_404()
*/
$uri = $valetDriver->mutateUri($uri);
$valetPathInfo = pathinfo($uri);
$uriPathInfo = pathinfo($uri);
$isPhpFile = false;
if (isset($valetPathInfo['extension']) && $valetPathInfo['extension'] === 'php') {
if (isset($uriPathInfo['extension']) && $uriPathInfo['extension'] === 'php') {
$isPhpFile = true;
}