summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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 .