fix useless backup on clip
This commit is contained in:
parent
7c0214dfad
commit
40c90d07bc
|
@ -48,7 +48,7 @@
|
|||
$path = $dir . '/' . $title;
|
||||
$lastchanged = filemtime($path);
|
||||
$previous = $_POST['lastchanged'];
|
||||
if ( (int)$lastchanged > (int)$previous)
|
||||
if (!isset($_GET['clip']) && (int)$lastchanged > (int)$previous)
|
||||
{
|
||||
$tempcontent = file_get_contents($path);
|
||||
if ($tempcontent != $content)
|
||||
|
|
Loading…
Reference in New Issue