mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
Call clearstatcache() after write operations
This commit is contained in:
parent
3c15bf4129
commit
8f3a9db69a
1 changed files with 6 additions and 0 deletions
|
|
@ -276,6 +276,8 @@ class Storage
|
|||
{
|
||||
@opcache_invalidate($filename, true);
|
||||
}
|
||||
|
||||
clearstatcache(true, $filename);
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
|
@ -373,6 +375,8 @@ class Storage
|
|||
{
|
||||
@chmod($destination, $destination_perms);
|
||||
}
|
||||
|
||||
clearstatcache(true, $destination);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -409,6 +413,8 @@ class Storage
|
|||
{
|
||||
@opcache_invalidate($source, true);
|
||||
}
|
||||
|
||||
clearstatcache(true, $destination);
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue