From: Mike Macgirvin Date: Sat, 3 Jul 2010 00:02:41 +0000 (-0700) Subject: use notice function instead of appending to sysmsg X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e1fe042e7826867c2b0a830657653d557506cfb;p=friendica.git use notice function instead of appending to sysmsg --- 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'] .= "
$s
"; -} \ No newline at end of file +} + +if(! function_exists('notice')) { +function notice($s) { + + $_SESSION['sysmsg'] .= $s; + +}} \ No newline at end of file