소스 검색

Fix bug 404.php

stany.ferer 3 달 전
부모
커밋
3798168780
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      public-cms/404.php

+ 1 - 1
public-cms/404.php

@@ -10,7 +10,7 @@ new blacklist;
 if(!blacklist::isValidIPv4()){
     $result = blacklist::execute();
 } else {
-    $result = "La page que vous cherchez n'existe pas.";
+    $result = ["error" => 404, "text" => "La page que vous cherchez n'existe pas."];
 }
 
 http_response_code($result["error"]);