1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Allow using adminer.invalid by other users in a group

This commit is contained in:
Jakub Vrana
2018-01-24 12:11:26 +01:00
parent 03e3f517a8
commit b15618fcfd

View File

@@ -1142,6 +1142,7 @@ function file_open_lock($filename) {
if (!$fp) { if (!$fp) {
return; return;
} }
chmod($filename, 0660);
} }
flock($fp, LOCK_EX); flock($fp, LOCK_EX);
return $fp; return $fp;