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 /buildmaster/statistics.php | |
parent | 1e8cfa2306848879b4fa4b39fb60e80389d3d808 (diff) | |
download | archweb32-0f244f5cd391dcbf9d627f7dcb99ce54090fe858.tar.xz |
Fix include path by generating absolute paths
Diffstat (limited to 'buildmaster/statistics.php')
-rw-r--r-- | buildmaster/statistics.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildmaster/statistics.php b/buildmaster/statistics.php index 8c13548..56b4984 100644 --- a/buildmaster/statistics.php +++ b/buildmaster/statistics.php @@ -1,6 +1,6 @@ <?php - -include "lib/mysql.php"; +require "../init.php"; +require BASE . "/lib/mysql.php"; if (isset($_GET["from"])) $min_time="from_base64(\"" . base64_encode("-".$_GET["from"]) . "\")"; |