1. Christoffer Niska
  2. yii-bootstrap
  3. Issues
Issue #219 resolved

Yii 1.13 - Recursive asset publish bug (with fix)

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