summaryrefslogtreecommitdiff
path: root/packages/pkginfo.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-07 15:27:53 +0100
committerErich Eckner <git@eckner.net>2019-02-07 15:27:53 +0100
commite8a5ea6d47d6aaf85bd370252e7c9aa82d40865e (patch)
treeb68d95618691197b34e23dfad7e1370945a11aa4 /packages/pkginfo.php
parent2feaeef55f34db304c8bc7253699579f736be5f2 (diff)
downloadarchweb32-e8a5ea6d47d6aaf85bd370252e7c9aa82d40865e.tar.xz
packages/pkginfo.php: remove logging of redirect errors - they are from google bot (probably)
Diffstat (limited to 'packages/pkginfo.php')
-rw-r--r--packages/pkginfo.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index f5583b2..2f42f5e 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -18,7 +18,6 @@ if (!array_key_exists('repo_arch', $_GET)) {
if (($_GET['repo']=='i686') || ($_GET['repo']=='i486') || ($_GET['repo']=='any')) {
header('Location: ' . $uri_prefix . $_GET['repo'] . '/' . $_GET['repo_arch'] . '/' . $_GET['pkgname'] . '/');
- error_log('needed redirect URL: ' . $_SERVER['REQUEST_URI'] . ', HTTP_USER_AGENT: ' . $_SERVER['HTTP_USER_AGENT'] . ', HTTP_REFERER: ' . $_SERVER['HTTP_REFERER']);
die();
}