Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/mirrors
diff options
context:
space:
mode:
authorTyler Dence <tyzoid.d@gmail.com>2018-06-19 13:42:59 -0400
committerTyler Dence <tyzoid.d@gmail.com>2018-06-19 13:42:59 -0400
commit9d5b807d4944fa05c68fd38be1f9705f40137238 (patch)
tree2945adcd6fa5a2cb8485060c2a2bc57b27fbb290 /mirrors
parent0f244f5cd391dcbf9d627f7dcb99ce54090fe858 (diff)
Changed requires to require_once's
Diffstat (limited to 'mirrors')
-rw-r--r--mirrors/index.php6
-rw-r--r--mirrors/status.php4
2 files changed, 5 insertions, 5 deletions
diff --git a/mirrors/index.php b/mirrors/index.php
index 114e03c..83b0f06 100644
--- a/mirrors/index.php
+++ b/mirrors/index.php
@@ -1,8 +1,8 @@
<?php
-require "../init.php";
+require_once "../init.php";
-require BASE . "/lib/mysql.php";
-require BASE . "/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 9989d75..79ca3ee 100644
--- a/mirrors/status.php
+++ b/mirrors/status.php
@@ -1,7 +1,7 @@
<?php
-require "../init.php";
+require_once "../init.php";
-require BASE . "/lib/mysql.php";
+require_once BASE . "/lib/mysql.php";
$cutoff = 86400;