[Config] fixed CS
This commit is contained in:
parent
33b9cacc3f
commit
a0caa942e9
@ -27,7 +27,7 @@ class DirectoryResource implements ResourceInterface
|
||||
*/
|
||||
public function __construct($resource)
|
||||
{
|
||||
$this->resource = realpath($resource);
|
||||
$this->resource = $resource;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -67,6 +67,7 @@ class DirectoryResource implements ResourceInterface
|
||||
foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($this->resource), \RecursiveIteratorIterator::LEAVES_ONLY) as $file) {
|
||||
$newestMTime = max(filemtime($file), $newestMTime);
|
||||
}
|
||||
|
||||
return $newestMTime < $timestamp;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user