Browse Source

Saves users prefferences with permission 0600 in stead of 0644.

Thijs Kinkhorst 23 năm trước cách đây
mục cha
commit
0366ddd553
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      functions/prefs.php

+ 1 - 0
functions/prefs.php

@@ -108,6 +108,7 @@ function savePrefValues($data_dir, $username) {
         }
     }
     fclose($file);
+    chmod($filename, 0600);
 }
 
 /**