Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/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 /buildmaster/status.php
parent1e8cfa2306848879b4fa4b39fb60e80389d3d808 (diff)
Fix include path by generating absolute paths
Diffstat (limited to 'buildmaster/status.php')
-rw-r--r--buildmaster/status.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildmaster/status.php b/buildmaster/status.php
index 2b1bd11..e129963 100644
--- a/buildmaster/status.php
+++ b/buildmaster/status.php
@@ -1,7 +1,7 @@
<?php
-
-include "lib/mysql.php";
-include "lib/style.php";
+require "../init.php";
+include BASE . "/lib/mysql.php";
+include BASE . "/lib/style.php";
$result = mysql_run_query(
"SELECT MAX(`package_sources`.`commit_time`) AS `last_commit`" .