diff --git a/backend/index.php b/backend/index.php index a63cd752e..0a246aefd 100644 --- a/backend/index.php +++ b/backend/index.php @@ -1,5 +1,5 @@ "help")); ?>

PHP Contributor Guidelines for Code Developers

diff --git a/license/distrib-guidelines-code.php b/license/distrib-guidelines-code.php index 6b28f8290..2f2b6e1ae 100644 --- a/license/distrib-guidelines-code.php +++ b/license/distrib-guidelines-code.php @@ -1,6 +1,6 @@ "help")); ?>

PHP Distribution Guidelines

diff --git a/license/index.php b/license/index.php index ba4121519..848fbbba1 100644 --- a/license/index.php +++ b/license/index.php @@ -1,6 +1,6 @@ diff --git a/manual/add-note.php b/manual/add-note.php index e9d2f4cd5..8203c172a 100644 --- a/manual/add-note.php +++ b/manual/add-note.php @@ -2,10 +2,10 @@ $ip_spam_lookup_url = 'http://www.dnsbl.info/dnsbl-database-check.php?IP='; $_SERVER['BASE_PAGE'] = 'manual/add-note.php'; -include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; -include_once $_SERVER['DOCUMENT_ROOT'] . '/include/posttohost.inc'; -include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc'; -include $_SERVER['DOCUMENT_ROOT'] . '/manual/spam_challenge.php'; +include_once __DIR__ . '/../include/prepend.inc'; +include_once __DIR__ . '/../include/posttohost.inc'; +include_once __DIR__ . '/../include/shared-manual.inc'; +include __DIR__ . '/spam_challenge.php'; site_header("Add Manual Note", array( 'css' => 'add-note.css')); diff --git a/manual/change.php b/manual/change.php index 1716d200f..5ce3e6700 100644 --- a/manual/change.php +++ b/manual/change.php @@ -1,5 +1,5 @@ "","\n"=>"")); diff --git a/manual/en/book.var.php b/manual/en/book.var.php index 085305b86..b3405143a 100644 --- a/manual/en/book.var.php +++ b/manual/en/book.var.php @@ -1,5 +1,5 @@ diff --git a/manual/index.php b/manual/index.php index 818d9070b..01404eda1 100644 --- a/manual/index.php +++ b/manual/index.php @@ -1,4 +1,4 @@ diff --git a/manual/php3.php b/manual/php3.php index 366c2f7d7..313e8c6c4 100644 --- a/manual/php3.php +++ b/manual/php3.php @@ -1,6 +1,6 @@ diff --git a/manual/php4.php b/manual/php4.php index 86334459e..9b3ab46b2 100644 --- a/manual/php4.php +++ b/manual/php4.php @@ -1,6 +1,6 @@ diff --git a/manual/phpfi2.php b/manual/phpfi2.php index d8ca6bb62..691bbc6fa 100644 --- a/manual/phpfi2.php +++ b/manual/phpfi2.php @@ -1,6 +1,6 @@ diff --git a/manual/vote-note.php b/manual/vote-note.php index 5aca2e09e..0cc5e1554 100644 --- a/manual/vote-note.php +++ b/manual/vote-note.php @@ -1,9 +1,9 @@ diff --git a/security/index.php b/security/index.php index bb26eaf93..dbccfbca1 100644 --- a/security/index.php +++ b/security/index.php @@ -1,7 +1,7 @@ diff --git a/styles/index.php b/styles/index.php index aa1f97945..960d9a964 100644 --- a/styles/index.php +++ b/styles/index.php @@ -1,5 +1,5 @@