Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/mysql.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mysql.php')
-rw-r--r--lib/mysql.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mysql.php b/lib/mysql.php
index ce48f73..60bfa3a 100644
--- a/lib/mysql.php
+++ b/lib/mysql.php
@@ -4,7 +4,8 @@
if (isset($mysql))
return;
-include "lib/http.php";
+require_once "../init.php";
+include_once BASE . "/lib/http.php";
$mysql = new mysqli("localhost", "webserver", "empty", "buildmaster");
if ( $mysql -> connect_error ) {