don't fail if the dir doesn't exist

This commit is contained in:
AD7six 2011-05-01 19:32:09 +02:00
parent 0181f71209
commit 20ff0259d9

View file

@ -251,6 +251,9 @@ class UpgradeShell extends Shell {
*/
protected function _findFiles($extensions = '') {
foreach ($this->_paths as $path) {
if (!is_dir($path)) {
continue;
}
$files = array();
$Iterator = new RegexIterator(
new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)),