yiisoft/yii2 — pull request #1373 by kartik-v (2013-12-01 10:44:56+00:00)
Title: Updated BaseFileHelper filterPath to improve performance

Edits to the ```filterPath``` call - so that unnecessary code is not executed (unless required). For example calls to ```is_dir``` or ```strlen``` is only needed if the ```only``` or ```except``` is passed.