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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user