diff options
author | Tyler Dence <tyzoid.d@gmail.com> | 2018-06-19 10:51:20 -0400 |
---|---|---|
committer | Tyler Dence <tyzoid.d@gmail.com> | 2018-06-19 10:53:42 -0400 |
commit | 0f244f5cd391dcbf9d627f7dcb99ce54090fe858 (patch) | |
tree | 9e0b2054f2067039cfa5b3d01f9c282b7c44fd76 /mirrors/index.php | |
parent | 1e8cfa2306848879b4fa4b39fb60e80389d3d808 (diff) | |
download | archweb32-0f244f5cd391dcbf9d627f7dcb99ce54090fe858.tar.xz |
Fix include path by generating absolute paths
Diffstat (limited to 'mirrors/index.php')
-rw-r--r-- | mirrors/index.php | 5 |
1 files changed, 3 insertions, 2 deletions
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; |