Browse Source

use notice function instead of appending to sysmsg

pull/1/head
Mike Macgirvin 11 years ago
parent
commit
3e1fe042e7
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      boot.php

+ 8
- 1
boot.php 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;
}}

Loading…
Cancel
Save