summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--computer-time-limit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/computer-time-limit.php b/computer-time-limit.php
index 14b30a2..67d6c15 100644
--- a/computer-time-limit.php
+++ b/computer-time-limit.php
@@ -4,7 +4,7 @@ $db = new SQLite3('../backstage/computer-time-limit/computer-time-limit.sqlite')
function log_to_file($line) {
$handle = fopen('../backstage/computer-time-limit/log', 'a');
- fwrite($handle, $line . "\n");
+ fwrite($handle, time() . ' ' . $line . "\n");
fclose($handle);
}