mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Mute chmod warning
This commit is contained in:
@@ -685,7 +685,7 @@ function file_open_lock(string $filename) {
|
|||||||
if (!$fp) {
|
if (!$fp) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
chmod($filename, 0660);
|
@chmod($filename, 0660); // @ - may not be permitted
|
||||||
if (!flock($fp, LOCK_EX)) {
|
if (!flock($fp, LOCK_EX)) {
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user