From 3e1fe042e7826867c2b0a830657653d557506cfb Mon Sep 17 00:00:00 2001
From: Mike Macgirvin <mike@macgirvin.com>
Date: Fri, 2 Jul 2010 17:02:41 -0700
Subject: [PATCH] use notice function instead of appending to sysmsg

---
 boot.php | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/boot.php b/boot.php
index 7f7a817270..e131a5b53a 100644
--- a/boot.php
+++ b/boot.php
@@ -299,4 +299,11 @@ function footer(&$a) {
 
 	$s = fetch_url("http://fortunemod.com/cookie.php?equal=1");
 	$a->page['content'] .= "<div class=\"fortune\" >$s</div>"; 
-}
\ No newline at end of file
+}
+
+if(! function_exists('notice')) {
+function notice($s) {
+
+	$_SESSION['sysmsg'] .= $s;
+
+}}
\ No newline at end of file