X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/815fed0cc9ba502f9450833008f7c9dd50b2e4da..630144db19b9199b775902148309c90502d34f78:/lib/utils.inc.php 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");