Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index e2235fb..bb454f0 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -179,7 +179,7 @@ function site_is_reachable($url) {
foreach ($headers as $header) {
if (!(strpos($header, 'HTTP/') === 0))
continue;
- if ($header[1] == '200')
+ if (explode(' ', $header)[1] == '200')
return true;
return false;
}