summaryrefslogtreecommitdiff
path: root/forum/utils/log.php
diff options
context:
space:
mode:
authordeva <deva>2008-10-04 10:38:03 +0000
committerdeva <deva>2008-10-04 10:38:03 +0000
commitcce5e7710295021b41d9aaecc503a60fb99256be (patch)
tree660235be91fb821e976c7ae62347eb368ce87524 /forum/utils/log.php
Initial revision
Diffstat (limited to 'forum/utils/log.php')
-rw-r--r--forum/utils/log.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/forum/utils/log.php b/forum/utils/log.php
new file mode 100644
index 0000000..e04c3bf
--- /dev/null
+++ b/forum/utils/log.php
@@ -0,0 +1,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);
+}
+
+?> \ No newline at end of file