Now is aware of Yii's path styles, and actually ignores non-php files.