fix: smart 404 utilise le dernier segment de l'URL comme requete
This commit is contained in:
+1
-1
@@ -1861,7 +1861,7 @@ switch ($action) {
|
||||
'/'
|
||||
);
|
||||
if ($notFoundPath !== '') {
|
||||
searchAndRedirect($notFoundPath, $articles);
|
||||
searchAndRedirect(basename($notFoundPath), $articles);
|
||||
}
|
||||
http_response_code(404);
|
||||
ob_start();
|
||||
|
||||
Reference in New Issue
Block a user