Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-22 14:03:34 +0100
committerErich Eckner <git@eckner.net>2019-11-22 14:03:34 +0100
commitd7a134060e2bab184ae0346ee65cd84f3981ab70 (patch)
tree7a1a505246ec7f0e018197931df81db162bf2503 /lib
parent8414e9fde067bef257f1d788380aa61e838e87ca (diff)
git.archlinux32.org/archlinux32/ -> git.archlinux32.org/
Diffstat (limited to 'lib')
-rw-r--r--lib/helper.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 8a25b9b..043fab9 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -91,7 +91,7 @@ function git_url($repository,$type,$commit,$path,$line = null,$commit_is_hash =
$git_available =
preg_match(
"/ 200 OK$/",
- get_headers("https://git.archlinux32.org/archlinux32/packages")[0]
+ get_headers("https://git.archlinux32.org/packages")[0]
);
apcu_store('git_available', $git_available, 120);
};
@@ -111,7 +111,7 @@ function git_url($repository,$type,$commit,$path,$line = null,$commit_is_hash =
switch ($type) {
case "tree":
return
- "https://git.archlinux32.org/archlinux32/" .
+ "https://git.archlinux32.org/" .
$repository .
"/src/" .
$commit .
@@ -120,7 +120,7 @@ function git_url($repository,$type,$commit,$path,$line = null,$commit_is_hash =
$line;
case "log":
return
- "https://git.archlinux32.org/archlinux32/" .
+ "https://git.archlinux32.org/" .
$repository .
"/commits/" .
$commit .
@@ -141,7 +141,7 @@ function git_url($repository,$type,$commit,$path,$line = null,$commit_is_hash =
switch ($type) {
case "tree":
return
- "https://git2.archlinux32.org/archlinux32/" .
+ "https://git2.archlinux32.org/" .
$repository .
"/tree/" .
$path .
@@ -149,7 +149,7 @@ function git_url($repository,$type,$commit,$path,$line = null,$commit_is_hash =
$line;
case "log":
return
- "https://git2.archlinux32.org/archlinux32/" .
+ "https://git2.archlinux32.org/" .
$repository .
"/log/" .
$path .