From c53a1009bd4452191e7df5a7f55d1a5526e60843 Mon Sep 17 00:00:00 2001
From: Denis Walker <dez@sucs.org>
Date: Sun, 12 Jun 2011 10:09:18 +0000
Subject: [PATCH] Turns out menu needs to be run where it was for the benefit
 of the blog system. Moved back

---
 htdocs/index.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/htdocs/index.php b/htdocs/index.php
index f41ee8a..4630ecc 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
-- 
GitLab