allow this to be turned on via config
This commit is contained in:
parent
9ae557c250
commit
6a5b8bd46d
@ -105,7 +105,7 @@ class LogEvent extends Event {
|
||||
$this->time = time();
|
||||
|
||||
// this should be an extension
|
||||
/*
|
||||
if(defined("X-HALFASSED-LOGGING")) {
|
||||
global $user;
|
||||
$ftime = date("Y-m-d H:i:s", $this->time);
|
||||
$username = $user->name;
|
||||
@ -113,7 +113,7 @@ class LogEvent extends Event {
|
||||
$fp = fopen("shimmie.log", "a");
|
||||
fputs($fp, "$ftime\t$section/$priority\t$username/$ip\t$message\n");
|
||||
fclose($fp);
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user