Поправил вычисление пути

master
parent 2f3978c965
commit db31a1f9c5
  1. 2
      protected/components/JQueryComponent.php

@ -73,7 +73,7 @@ class JQueryComponent extends CApplicationComponent
if ($this->cdn) {
$url = $this->cdnUrl;
} else {
$url = Yii::app()->getAssetManager()->publish(dirname(__DIR__).'/public/'.$this->localUrl);
$url = Yii::app()->getAssetManager()->publish(dirname(dirname(__DIR__)).'/public/'.$this->localUrl, false, -1);
}
if ($this->debug === false) {

Loading…
Cancel
Save