From: schucan Date: Thu, 1 May 2025 14:14:00 +0000 (+0200) Subject: Mute chmod warning X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=1862b846123f02f521d0aae5f6c2ea5538d073df;p=adminer.git Mute chmod warning --- diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index b4aeb6a9..4a3dd50b 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -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;