]> git.mxchange.org Git - friendica.git/commitdiff
use notice function instead of appending to sysmsg
authorMike Macgirvin <mike@macgirvin.com>
Sat, 3 Jul 2010 00:02:41 +0000 (17:02 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Sat, 3 Jul 2010 00:02:41 +0000 (17:02 -0700)
boot.php

index 7f7a817270ca28140bf96db4ca10f3effa15830a..e131a5b53a019f1c1fe4ae7c386a083040a1ba5c 100644 (file)
--- 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