summaryrefslogtreecommitdiff
path: root/packages/index.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-07 12:09:26 +0100
committerErich Eckner <git@eckner.net>2019-02-07 12:09:26 +0100
commit2d1d85269ee562a3dfe4d35a2186c793aa9b8118 (patch)
tree28c2992a3514dd3490e31d2d5786fcbe82cf78f0 /packages/index.php
parent5b52f8b5a6a911aafc46b9ea2a5eaada76a89729 (diff)
downloadarchweb32-2d1d85269ee562a3dfe4d35a2186c793aa9b8118.tar.xz
*/index.{php,html}: change absolut references to relative ones where appropriate
Diffstat (limited to 'packages/index.php')
-rw-r--r--packages/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/index.php b/packages/index.php
index 1d3acca..0784896 100644
--- a/packages/index.php
+++ b/packages/index.php
@@ -251,7 +251,7 @@ require_once BASE . "/lib/format.php";
print " " . $row["repo"] . "\n";
print " </td>\n";
print " <td>\n";
- print " <a href=\"/" . $row["repo"] . "/" . $row["pkgname"] ."/\" ";
+ print " <a href=\"" . $row["repo"] . "/" . $row["pkgname"] ."/\" ";
print "title=\"View package details for " . $row["pkgname"] . "\">" . $row["pkgname"] . "</a>\n";
print " </td>\n";
print " <td>\n";
@@ -487,7 +487,7 @@ if (count($exact_matches) > 0) {
foreach ($sorts as $get => $sort) {
print " <th>\n";
- print " <a href=\"/?";
+ print " <a href=\"?";
print substr(str_replace(
"&sort=".$_GET["sort"]."&",
"&",