comment out example thingy
This commit is contained in:
parent
561c9fdbb7
commit
f592167c6a
@ -113,12 +113,14 @@ class LogEvent extends Event {
|
|||||||
$this->time = time();
|
$this->time = time();
|
||||||
|
|
||||||
// this should be an extension
|
// this should be an extension
|
||||||
|
/*
|
||||||
$ftime = date("Y-m-d H:i:s", $this->time);
|
$ftime = date("Y-m-d H:i:s", $this->time);
|
||||||
$username = $context->user->name;
|
$username = $context->user->name;
|
||||||
$ip = $_SERVER['REMOTE_ADDR'];
|
$ip = $_SERVER['REMOTE_ADDR'];
|
||||||
$fp = fopen("shimmie.log", "a");
|
$fp = fopen("shimmie.log", "a");
|
||||||
fputs($fp, "$ftime\t$section/$priority\t$username/$ip\t$message\n");
|
fputs($fp, "$ftime\t$section/$priority\t$username/$ip\t$message\n");
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user