aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-02 17:02:41 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-02 17:02:41 -0700
commit3e1fe042e7826867c2b0a830657653d557506cfb (patch)
treef86988ee4d231d77ac3e8df82c46d5f623b9b595
parentb9e1a126c5d4ed5adc82d69d516292896aca3431 (diff)
downloadvolse-hubzilla-3e1fe042e7826867c2b0a830657653d557506cfb.tar.gz
volse-hubzilla-3e1fe042e7826867c2b0a830657653d557506cfb.tar.bz2
volse-hubzilla-3e1fe042e7826867c2b0a830657653d557506cfb.zip
use notice function instead of appending to sysmsg
-rw-r--r--boot.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 7f7a81727..e131a5b53 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