[Config] fixed CS

This commit is contained in:
Fabien Potencier 2011-03-08 15:33:46 +01:00
parent 33b9cacc3f
commit a0caa942e9

View File

@ -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;
}
}