From 0b273a0b2cf1b10148810b4aed1dabde11602481 Mon Sep 17 00:00:00 2001 From: Tyler Dence Date: Tue, 19 Jun 2018 14:10:43 -0400 Subject: Fix syntax errors from missing semicolons --- lib/mysql.php | 3 ++- lib/style.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') 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 ) { diff --git a/lib/style.php b/lib/style.php index 8b84e0e..a8a0396 100644 --- a/lib/style.php +++ b/lib/style.php @@ -3,7 +3,7 @@ if (function_exists("print_header")) return; -require_once "../init.php" +require_once "../init.php"; require_once BASE . "/lib/mysql.php"; function print_header($title) { -- cgit v1.2.3-70-g09d2