Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'misc/others/geoipUpdateRows.php')
-rwxr-xr-xmisc/others/geoipUpdateRows.php4
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;
}