diff options
Diffstat (limited to 'misc/others/geoipUpdateRows.php')
-rwxr-xr-x | misc/others/geoipUpdateRows.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/misc/others/geoipUpdateRows.php b/misc/others/geoipUpdateRows.php index df480d395d..b90a2d376c 100755 --- a/misc/others/geoipUpdateRows.php +++ b/misc/others/geoipUpdateRows.php @@ -89,9 +89,7 @@ if (!Common::isPhpCliMode()) { function geoipUpdateError($message) { Log::error($message); - if (!Common::isPhpCliMode()) { - @header('HTTP/1.1 500 Internal Server Error', $replace = true, $responseCode = 500); - } + Common::sendHeader('HTTP/1.1 500 Internal Server Error', $replace = true, $responseCode = 500); exit; } |