mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
fix wordpress permalinks
This commit is contained in:
@@ -54,6 +54,8 @@ public function frontControllerPath($sitePath, $siteName, $uri)
|
||||
return $sitePath.$uri;
|
||||
} elseif (file_exists($frontControllerPath = $sitePath.$uri.'/index.php')) {
|
||||
return $frontControllerPath;
|
||||
} else {
|
||||
return $sitePath.'/index.php';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user