Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/mirrors
diff options
context:
space:
mode:
authorErich Eckner <deep42thought@noreply.example.org>2018-06-19 17:49:43 +0000
committerGitea <gitea@fake.local>2018-06-19 17:49:43 +0000
commit4eaa80ae7e67bbadf4b6cdd4634496368dc451d5 (patch)
tree2945adcd6fa5a2cb8485060c2a2bc57b27fbb290 /mirrors
parent1e8cfa2306848879b4fa4b39fb60e80389d3d808 (diff)
parent9d5b807d4944fa05c68fd38be1f9705f40137238 (diff)
Merge branch 'fix-include-path' of archlinux32/archweb32 into master
Diffstat (limited to 'mirrors')
-rw-r--r--mirrors/index.php5
-rw-r--r--mirrors/status.php3
2 files changed, 5 insertions, 3 deletions
diff --git a/mirrors/index.php b/mirrors/index.php
index 85ec4e0..83b0f06 100644
--- a/mirrors/index.php
+++ b/mirrors/index.php
@@ -1,7 +1,8 @@
<?php
+require_once "../init.php";
-include "lib/mysql.php";
-include "lib/style.php";
+require_once BASE . "/lib/mysql.php";
+require_once BASE . "/lib/style.php";
$cutoff = 3600;
diff --git a/mirrors/status.php b/mirrors/status.php
index 1e1f274..79ca3ee 100644
--- a/mirrors/status.php
+++ b/mirrors/status.php
@@ -1,6 +1,7 @@
<?php
+require_once "../init.php";
-include "lib/mysql.php";
+require_once BASE . "/lib/mysql.php";
$cutoff = 86400;