]> git.joonet.de Git - adminer.git/commitdiff
Mute chmod warning
authorschucan <schucan@users.noreply.github.com>
Thu, 1 May 2025 14:14:00 +0000 (16:14 +0200)
committerJakub Vrana <jakub@vrana.cz>
Mon, 5 May 2025 06:05:36 +0000 (08:05 +0200)
adminer/include/functions.inc.php

index b4aeb6a9c86a399d314003567ad37b4af7d41951..4a3dd50b7360a27699123a5d1a742af6c4ce5b30 100644 (file)
@@ -685,7 +685,7 @@ function file_open_lock(string $filename) {
        if (!$fp) {
                return;
        }
-       chmod($filename, 0660);
+       @chmod($filename, 0660); // @ - may not be permitted
        if (!flock($fp, LOCK_EX)) {
                fclose($fp);
                return;