summaryrefslogtreecommitdiff
path: root/packages/pkginfo.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-08 11:11:44 +0100
committerErich Eckner <git@eckner.net>2019-01-08 11:11:44 +0100
commit66ef5b455da291dcb9d392c959055d40ab5ec393 (patch)
tree31c8502ea1b1eb545db1af8efe7e65500b27a3ec /packages/pkginfo.php
parent8a14cd102d13e4934ad2472fece84f5c025d1c5e (diff)
downloadarchweb32-66ef5b455da291dcb9d392c959055d40ab5ec393.tar.xz
packages/pkginfo.php: arch -> repo_arch
Diffstat (limited to 'packages/pkginfo.php')
-rw-r--r--packages/pkginfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index ef690ea..0939b8e 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -2,7 +2,7 @@
require_once "../init.php";
if (($_GET['repo']=='i686') || ($_GET['repo']=='i486') || ($_GET['repo']=='any')) {
- header('Location: /' . $_GET['repo'] . '/' . $_GET['arch'] . '/' . $_GET['pkgname'] . '/');
+ header('Location: /' . $_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();
}