mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-27 22:42:57 +00:00
Eliminate the hardcoded path to the document root. We still call it
siteHome, however.
This commit is contained in:
parent
c07819325e
commit
5c759a8f1c
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<? // Preamble
|
||||
$siteName = "The QuakeForge Project";
|
||||
$theme = "quakeforge";
|
||||
define('siteHome', "/home/groups/q/qu/quake/htdocs");
|
||||
define ('siteHome', $GLOBALS["DOCUMENT_ROOT"]);
|
||||
|
||||
require siteHome . "/parts/library.php"; // Load function library
|
||||
if ($need) {
|
||||
|
|
Loading…
Reference in a new issue