summaryrefslogtreecommitdiff
path: root/forum/utils/log.php
blob: e04c3bf3857a3555b3de6f458875150fde8f8633 (plain)
1
2
3
4
5
6
7
8
9
10
<?php

function _log($user, $action) {
  global $LOG_FILE;
  $fp = fopen($LOG_FILE, "a");
  fprintf($fp, "%s - %s - %s\n", date("r"), $user, $action);
  fclose($fp);
}

?>