[Yii Framework] 如何使用theme

在main.php 里面配置
return array(
’theme’=>’basic’,
......
);
要使用theme里面的资源的话,比如说images, js, css, 应该这样, Yii::app()->theme->baseUrl.”/images/FileName.gif”

原文地址:https://www.cnblogs.com/davidhhuan/p/1717030.html