Make yii's assetmanager work under safe-mode