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"]);