diff options
-rw-r--r-- | computer-time-limit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/computer-time-limit.php b/computer-time-limit.php index e673e52..14b30a2 100644 --- a/computer-time-limit.php +++ b/computer-time-limit.php @@ -3,7 +3,7 @@ $db = new SQLite3('../backstage/computer-time-limit/computer-time-limit.sqlite'); function log_to_file($line) { - $handle = fopen('../backstage/computer-time-limit/log', 'w+'); + $handle = fopen('../backstage/computer-time-limit/log', 'a'); fwrite($handle, $line . "\n"); fclose($handle); } |