Eliminate the hardcoded path to the document root. We still call it

siteHome, however.
This commit is contained in:
Jeff Teunissen 2001-05-02 05:19:30 +00:00
parent c07819325e
commit 5c759a8f1c

View file

@ -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) {