From 0f244f5cd391dcbf9d627f7dcb99ce54090fe858 Mon Sep 17 00:00:00 2001 From: Tyler Dence Date: Tue, 19 Jun 2018 10:51:20 -0400 Subject: Fix include path by generating absolute paths --- lib/style.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/style.php') diff --git a/lib/style.php b/lib/style.php index 6911bdd..4b6439b 100644 --- a/lib/style.php +++ b/lib/style.php @@ -3,7 +3,7 @@ if (function_exists("print_header")) return; -include "lib/mysql.php"; +require "lib/mysql.php"; function print_header($title) { ?> -- cgit v1.2.3-54-g00ecf From 9d5b807d4944fa05c68fd38be1f9705f40137238 Mon Sep 17 00:00:00 2001 From: Tyler Dence Date: Tue, 19 Jun 2018 13:42:59 -0400 Subject: Changed requires to require_once's --- buildmaster/blacklist.php | 4 ++-- buildmaster/build-list-links.php | 4 ++-- buildmaster/build-list.php | 6 +++--- buildmaster/build-slaves.php | 4 ++-- buildmaster/deletion-links.php | 4 ++-- buildmaster/dependencies.php | 4 ++-- buildmaster/gpg-keys.php | 4 ++-- buildmaster/index.php | 4 ++-- buildmaster/log.php | 4 ++-- buildmaster/mysql-issues.php | 4 ++-- buildmaster/statistics.php | 4 ++-- buildmaster/status.php | 2 +- buildmaster/to-delete.php | 4 ++-- buildmaster/todos.php | 2 +- lib/style.php | 3 ++- mirrors/index.php | 6 +++--- mirrors/status.php | 4 ++-- packages/index.php | 6 +++--- packages/pkginfo.php | 6 +++--- 19 files changed, 40 insertions(+), 39 deletions(-) (limited to 'lib/style.php') diff --git a/buildmaster/blacklist.php b/buildmaster/blacklist.php index ab9f89f..4757a6e 100644 --- a/buildmaster/blacklist.php +++ b/buildmaster/blacklist.php @@ -1,7 +1,7 @@ diff --git a/buildmaster/log.php b/buildmaster/log.php index 139f94c..effcb55 100644 --- a/buildmaster/log.php +++ b/buildmaster/log.php @@ -1,6 +1,6 @@ diff --git a/mirrors/index.php b/mirrors/index.php index 114e03c..83b0f06 100644 --- a/mirrors/index.php +++ b/mirrors/index.php @@ -1,8 +1,8 @@