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

Mute chmod warning

This commit is contained in:
schucan
2025-05-01 16:14:00 +02:00
committed by Jakub Vrana
parent e76be9f890
commit 1862b84612

View 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;