yii components - Yii error load css when using manage url -


i have folder resource containing css file. using registercssfile , registerscriptfile load them in components/controller. have trouble when using manage urlmanager in config/main . page can't load file css , javascript because link change follow controller id.

this error:

controller site : http://localhost/admin/site/resources/css/profile.css ........ controller user : http://localhost/admin/user/resources/css/theme-blue.css ........

please me. thank much.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -