Yii 1.13 - Recursive asset publish bug (with fix)

Issue #219 resolved
technixp created an issue


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


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