RegisterAssetJs enhanchment proposal

Issue #232 new
Anonymous created an issue

Please, cheack if 'file_exists' before publish an assets.

Some yii-bootstrap extensions like yii-booster, sometimes try to register non-existents file (causing no problem but a lot of 404 into apache log !)

I opened an issue to yii-booster, but it can be usefull to check at lower level if file exists.

Comments (1)

  1. Damien Miller

    I agree, I added a date-time picker to Yii-Booster and for some reason source-tree didn't pick up on the changes so the JS & CSS didn't get pushed to the server. It took me forever to work out what had happened and it was only when I started to look at the server responses I saw the 404 errors.

  2. Log in to comment