diff --git a/htdocs/index.php b/htdocs/index.php index f41ee8ad551fb70963fde9383f1e7656ce261b01..4630ecc13677317aa858cb26dcbd0ade56f37f80 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -130,6 +130,8 @@ if ($path == "") $path="/"; $smarty->assign("title", "Set Me"); $smarty->assign("body", "Empty Body"); +include($base."components/menu.php"); + // Load the component $comppath = $base."components/".$component['component'].".php"; $compoutput = ""; @@ -145,8 +147,6 @@ if (file_exists($comppath)) { // Pass error/warning/info messages to the template $smarty->assign("user_messages", $messages); -include($base."components/menu.php"); - // Render the results if (!(isset($no_template)) || (!$no_template)) { // Send appropriate Content-Type