use notice function instead of appending to sysmsg
This commit is contained in:
parent
b9e1a126c5
commit
3e1fe042e7
1 changed files with 8 additions and 1 deletions
7
boot.php
7
boot.php
|
@ -300,3 +300,10 @@ function footer(&$a) {
|
||||||
$s = fetch_url("http://fortunemod.com/cookie.php?equal=1");
|
$s = fetch_url("http://fortunemod.com/cookie.php?equal=1");
|
||||||
$a->page['content'] .= "<div class=\"fortune\" >$s</div>";
|
$a->page['content'] .= "<div class=\"fortune\" >$s</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(! function_exists('notice')) {
|
||||||
|
function notice($s) {
|
||||||
|
|
||||||
|
$_SESSION['sysmsg'] .= $s;
|
||||||
|
|
||||||
|
}}
|
Loading…
Reference in a new issue