diff --git a/ChangeLog-4.php b/ChangeLog-4.php index 8b46cd717..f422cd179 100644 --- a/ChangeLog-4.php +++ b/ChangeLog-4.php @@ -1,7 +1,7 @@ "docs", "css" => array("changelog.css"), "layout_span" => 12)); ?> diff --git a/ChangeLog-5.php b/ChangeLog-5.php index 64273ed88..86e296355 100644 --- a/ChangeLog-5.php +++ b/ChangeLog-5.php @@ -1,7 +1,7 @@ "docs", "css" => array("changelog.css"), "layout_span" => 12)); ?> diff --git a/ChangeLog-7.php b/ChangeLog-7.php index 753af3126..b0f4b6d7a 100644 --- a/ChangeLog-7.php +++ b/ChangeLog-7.php @@ -1,7 +1,7 @@ "docs", "css" => array("changelog.css"), "layout_span" => 12)); ?>
diff --git a/downloads.php b/downloads.php index 51ce178bf..01de834c9 100644 --- a/downloads.php +++ b/downloads.php @@ -1,8 +1,8 @@
diff --git a/gpg-keys.php b/gpg-keys.php index ea8467355..a0729a4d2 100644 --- a/gpg-keys.php +++ b/gpg-keys.php @@ -1,8 +1,8 @@ diff --git a/include/branches.inc b/include/branches.inc index 4e7437019..361cb0076 100644 --- a/include/branches.inc +++ b/include/branches.inc @@ -1,6 +1,6 @@ Would like to unsubscribe yourself? diff --git a/manual-lookup.php b/manual-lookup.php index 369b6ef14..1048a1fce 100644 --- a/manual-lookup.php +++ b/manual-lookup.php @@ -1,8 +1,8 @@ diff --git a/mirror-info.php b/mirror-info.php index 72e773369..d9fb5c42f 100644 --- a/mirror-info.php +++ b/mirror-info.php @@ -1,9 +1,9 @@ -HTMLPre +HTMLPre # HTMLHead defines HTML code to insert within the
# block, immediately after thediff --git a/mirroring-stats.php b/mirroring-stats.php index 573ee0236..c16d3a1c8 100644 --- a/mirroring-stats.php +++ b/mirroring-stats.php @@ -1,6 +1,6 @@ "community")); ?> diff --git a/mirroring-troubles.php b/mirroring-troubles.php index 2555fbe74..ea79e1825 100644 --- a/mirroring-troubles.php +++ b/mirroring-troubles.php @@ -1,6 +1,6 @@ Other mirror information diff --git a/mirroring.php b/mirroring.php index 974fd53cf..475419c80 100644 --- a/mirroring.php +++ b/mirroring.php @@ -1,6 +1,6 @@ Existing mirror sites
diff --git a/mirrors.php b/mirrors.php index ad3f17120..61c8b25fe 100644 --- a/mirrors.php +++ b/mirrors.php @@ -1,5 +1,5 @@ "community")); diff --git a/my.php b/my.php index dfe35f81d..428a8846d 100644 --- a/my.php +++ b/my.php @@ -1,6 +1,6 @@ "footer")); ?> diff --git a/quickref.php b/quickref.php index 745634a0f..da786b9ca 100644 --- a/quickref.php +++ b/quickref.php @@ -14,9 +14,9 @@ // Ensure that our environment is set up $_SERVER['BASE_PAGE'] = 'quickref.php'; -include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; -include_once $_SERVER['DOCUMENT_ROOT'] . '/include/errors.inc'; -include $_SERVER['DOCUMENT_ROOT'] . '/include/results.inc'; +include_once __DIR__ . '/include/prepend.inc'; +include_once __DIR__ . '/include/errors.inc'; +include __DIR__ . '/include/results.inc'; if (empty($notfound)) { mirror_redirect("/search.php"); diff --git a/results.php b/results.php index 280002123..273e488ed 100644 --- a/results.php +++ b/results.php @@ -1,7 +1,7 @@ "docs")); ?> diff --git a/sitemap.php b/sitemap.php index c7e9edcee..bbb654224 100644 --- a/sitemap.php +++ b/sitemap.php @@ -1,6 +1,6 @@ "help")); ?> diff --git a/sites.php b/sites.php index 1393ec4aa..a27971aa7 100644 --- a/sites.php +++ b/sites.php @@ -1,6 +1,6 @@ "help")); ?> diff --git a/software.php b/software.php index 0044d8049..4b805c8b9 100644 --- a/software.php +++ b/software.php @@ -1,6 +1,6 @@ "help")); ?> diff --git a/submit-event.php b/submit-event.php index 26dbd4719..5f4cef55a 100644 --- a/submit-event.php +++ b/submit-event.php @@ -1,8 +1,8 @@ "community")); // No errors, processing depends on POST data diff --git a/support.php b/support.php index e28cb7e59..89ab7a0e1 100644 --- a/support.php +++ b/support.php @@ -1,6 +1,6 @@ diff --git a/supported-versions.php b/supported-versions.php index d081ee710..8608886d2 100644 --- a/supported-versions.php +++ b/supported-versions.php @@ -1,8 +1,8 @@ array('supported-versions.css'))); @@ -85,7 +85,7 @@ $VERSION_NOTES = array( * ensuring that we have the same text formatting as the rest of the page. */ $non_standalone = true; -include $_SERVER['DOCUMENT_ROOT'] . '/images/supported-versions.php'; +include __DIR__ . '/images/supported-versions.php'; ?>