Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/mirrors/status.php
diff options
context:
space:
mode:
authorTyler Dence <tyzoid.d@gmail.com>2018-06-19 10:51:20 -0400
committerTyler Dence <tyzoid.d@gmail.com>2018-06-19 10:53:42 -0400
commit0f244f5cd391dcbf9d627f7dcb99ce54090fe858 (patch)
tree9e0b2054f2067039cfa5b3d01f9c282b7c44fd76 /mirrors/status.php
parent1e8cfa2306848879b4fa4b39fb60e80389d3d808 (diff)
Fix include path by generating absolute paths
Diffstat (limited to 'mirrors/status.php')
-rw-r--r--mirrors/status.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mirrors/status.php b/mirrors/status.php
index 1e1f274..9989d75 100644
--- a/mirrors/status.php
+++ b/mirrors/status.php
@@ -1,6 +1,7 @@
<?php
+require "../init.php";
-include "lib/mysql.php";
+require BASE . "/lib/mysql.php";
$cutoff = 86400;