mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +02:00
Notices: Silent unavoidable error
This commit is contained in:
@@ -31,7 +31,7 @@ if (isset($_GET["file"])) {
|
||||
|
||||
if ($_GET["script"] == "version") {
|
||||
$filename = get_temp_dir() . "/adminer.version";
|
||||
unlink($filename); // it may not be writable by us
|
||||
@unlink($filename); // it may not be writable by us, @ - it may not exist
|
||||
$fp = file_open_lock($filename);
|
||||
if ($fp) {
|
||||
file_write_unlock($fp, serialize(array("signature" => $_POST["signature"], "version" => $_POST["version"])));
|
||||
|
Reference in New Issue
Block a user