diff --git a/Config/_siteconfig_.php b/Config/_siteconfig_.php index 0c96f9a..aa1747f 100755 --- a/Config/_siteconfig_.php +++ b/Config/_siteconfig_.php @@ -14,9 +14,9 @@ $SITE_MODULES[0]="Home#Home"; // Home Module required! //$SITE_MODULES[1]="Contact#Contact"; //$SITE_MODULES[2]="Services#Services"; $SITE_MODULES[1]="Server Traffic#ServerTraffic"; -$SITE_MODULES[2]="Downloads#Downloads"; -$SITE_MODULES[3]="Forum#Forum"; -$SITE_MODULES[4]="Userinfo#UserControl"; +//$SITE_MODULES[2]="Downloads#Downloads"; +$SITE_MODULES[2]="Forum#Forum"; +$SITE_MODULES[3]="Userinfo#UserControl"; //Header Modules Admin ----------------------- $SITE_MODULES_ADMIN[0]="Home#Home"; // Home Module required! diff --git a/Site/admin_header.php b/Site/admin_header.php index a3ff732..f45e902 100755 --- a/Site/admin_header.php +++ b/Site/admin_header.php @@ -15,123 +15,176 @@ else { if(strpos($moduleurl, "?") == 0) { - $moduleurl = $_SERVER["REQUEST_URI"]."?site=1"; + $moduleurl = $_SERVER["REQUEST_URI"] . "?site=1"; } - if($_SERVER["REQUEST_URI"] == "/Admin/" || is_null($_SERVER["REQUEST_URI"])) + if($_SERVER["REQUEST_URI"] == "/" || is_null($_SERVER["REQUEST_URI"])) { - $moduleurl = "/Admin/index.php?site=1"; + $moduleurl = "/index.php?site=1"; } } include($_SERVER["DOCUMENT_ROOT"]."/Config/_siteconfig_.php"); +$tpl_root = $SITE_WEBROOT . "Themes/" . $SITE_THEME . "/"; + ?>
- - + - - -