From ecc5e7736ef71720c3786d14a30cbb082cbf2bc1 Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Sat, 6 Jun 2015 14:14:25 +0200 Subject: [PATCH] finish log method --- lib/utils.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils.inc.php b/lib/utils.inc.php index a15369e..db02a8d 100644 --- a/lib/utils.inc.php +++ b/lib/utils.inc.php @@ -92,6 +92,7 @@ class Utils { $file = $CFG->root.'qtadmin.log'; } file_put_contents($file, "[$time]: $message\n", FILE_APPEND | LOCK_EX); + chmod($file, 0600); break; case 'stderr': file_put_contents('php://stderr', "[$time]: $message\n"); -- 2.39.2