diff --git a/objects/include_config.php b/objects/include_config.php index 5bea0ea326..2459ef68fc 100644 --- a/objects/include_config.php +++ b/objects/include_config.php @@ -8,7 +8,7 @@ if (!empty($global['stopHeadRequests'])) { if ($_SERVER['REQUEST_METHOD'] === 'HEAD') { // Optionally, you can send a specific status code or header before exiting http_response_code(200); // Set response code if needed - _error_log('stopIfIsHeadRequest '.$_SERVER['HTTP_USER_AGENT']); + error_log('stopIfIsHeadRequest '.$_SERVER['HTTP_USER_AGENT']); die(); } }