]> git.joonet.de Git - adminer.git/commitdiff
Allow using adminer.invalid by other users in a group
authorJakub Vrana <jakub@vrana.cz>
Wed, 24 Jan 2018 11:11:26 +0000 (12:11 +0100)
committerJakub Vrana <jakub@vrana.cz>
Wed, 24 Jan 2018 11:11:26 +0000 (12:11 +0100)
adminer/include/functions.inc.php

index d1e546bb103c895b2b4a1926e5efc4263e640273..67f948b1b63632473b32b27ecfb93652fd0a830d 100644 (file)
@@ -1142,6 +1142,7 @@ function file_open_lock($filename) {
                if (!$fp) {
                        return;
                }
+               chmod($filename, 0660);
        }
        flock($fp, LOCK_EX);
        return $fp;