mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
enhance filesystem check to also check fs_id of required nodes /, /home, /apps
This commit is contained in:
parent
c47018c449
commit
05e521e644
@ -153,7 +153,7 @@ class Utils extends StreamWrapper
|
|||||||
$sqlfs = new StreamWrapper();
|
$sqlfs = new StreamWrapper();
|
||||||
foreach($dirs as $path => $id)
|
foreach($dirs as $path => $id)
|
||||||
{
|
{
|
||||||
if (!($stat = $sqlfs->url_stat($path, STREAM_URL_STAT_LINK)))
|
if (!($stat = $sqlfs->url_stat($path, STREAM_URL_STAT_LINK)) || $stat['ino'] != $id)
|
||||||
{
|
{
|
||||||
if ($check_only)
|
if ($check_only)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user