Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Dence <tyzoid.d@gmail.com>2018-06-19 14:10:43 -0400
committerTyler Dence <tyzoid.d@gmail.com>2018-06-19 14:10:43 -0400
commit0b273a0b2cf1b10148810b4aed1dabde11602481 (patch)
treeb6d715581ff508ecbe65e5f727a4051554c2f892
parent4eaa80ae7e67bbadf4b6cdd4634496368dc451d5 (diff)
Fix syntax errors from missing semicolons
-rw-r--r--lib/mysql.php3
-rw-r--r--lib/style.php2
-rw-r--r--packages/pkginfo.php2
3 files changed, 4 insertions, 3 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 ) {
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) {
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index b29d8cf..7f17963 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -1,5 +1,5 @@
<?php
-require_once "../init.php"
+require_once "../init.php";
require_once BASE . "/lib/mysql.php";
require_once BASE . "/lib/style.php";