index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | packages/pkginfo.php | 2 |
diff --git a/packages/pkginfo.php b/packages/pkginfo.php index 022f699..f5583b2 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -17,7 +17,7 @@ if (!array_key_exists('repo_arch', $_GET)) { } if (($_GET['repo']=='i686') || ($_GET['repo']=='i486') || ($_GET['repo']=='any')) { - header('Location: /' . $_GET['repo'] . '/' . $_GET['repo_arch'] . '/' . $_GET['pkgname'] . '/'); + 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(); } |