]> git.datanom.net - qtadmin.git/blobdiff - lib/utils.inc.php
finish log method
[qtadmin.git] / lib / utils.inc.php
index a15369ea39f32c622d7b1c1c3a77c42951252842..db02a8d317c81dd2439040ec3229d179f46591ca 100644 (file)
@@ -92,6 +92,7 @@ class Utils {
                     $file = $CFG->root.'qtadmin.log';
                 }
                 file_put_contents($file, "[$time]: $message\n", FILE_APPEND | LOCK_EX);
                     $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");
                 break;
             case 'stderr':
                 file_put_contents('php://stderr', "[$time]: $message\n");
This page took 0.129344 seconds and 5 git commands to generate.