Преглед изворни кода

Saves users prefferences with permission 0600 in stead of 0644.

Thijs Kinkhorst пре 23 година
родитељ
комит
0366ddd553
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      functions/prefs.php

+ 1 - 0
functions/prefs.php

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