1
1
Fork 0

use notice function instead of appending to sysmsg

This commit is contained in:
Mike Macgirvin 2010-07-02 17:02:41 -07:00
parent b9e1a126c5
commit 3e1fe042e7

View file

@ -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>";
}
}
if(! function_exists('notice')) {
function notice($s) {
$_SESSION['sysmsg'] .= $s;
}}