Issue #219 resolved

Yii 1.13 - Recursive asset publish bug (with fix)

technixp
created an issue

Problem

$assetsPath = Yii::getPathOfAlias('bootstrap.assets'); \ returns root folder

fix

Yii::setPathOfAlias('bootstrap', dirname(FILE).'/../extensions/bootstrap'); in config/main.php

Comments (7)

  1. Michael Dvornichenko

    its not a fix, and there is no description about that in the "Setup" page on the official site. I think it is better to change:

    from $assetsPath = Yii::getPathOfAlias('bootstrap.assets');

    to $assetsPath = Yii::getPathOfAlias('ext.bootstrap.assets');

  2. Log in to comment