|
|
@@ -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();
|
|
|
}
|