index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | mirrors/index.php | 5 | ||||
-rw-r--r-- | mirrors/status.php | 3 |
diff --git a/mirrors/index.php b/mirrors/index.php index 85ec4e0..114e03c 100644 --- a/mirrors/index.php +++ b/mirrors/index.php @@ -1,7 +1,8 @@ <?php +require "../init.php"; -include "lib/mysql.php"; -include "lib/style.php"; +require BASE . "/lib/mysql.php"; +require BASE . "/lib/style.php"; $cutoff = 3600; 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; |