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