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

+ 3 - 1
public-cms/cron.php

@@ -13,6 +13,8 @@ if(cron::ifLocalHost()){
     cron::sendMailAssignDocument();
 
 } else {
-    header('HTTP/1.1 403 Forbidden');
+    header('HTTP/1.0 401 Unauthorized');
+    header('Content-Type: text/html; charset=utf-8');
     echo json_encode(["403 Accès Interdit"]);
+    exit();
 }