mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Swap uses of _SERVER[DOCUMENT_ROOT] for __DIR__
1/n - Update / and /include/ only.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
$_SERVER['BASE_PAGE'] = 'thanks.php';
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/historical_mirrors.inc';
|
||||
include_once __DIR__ . '/include/prepend.inc';
|
||||
include_once __DIR__ . '/include/historical_mirrors.inc';
|
||||
site_header("Thanks", array("current" => "community"));
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user