ThemeAsset.php 395 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * Author: NODELOG
  5. * DateTime: 2017/7/10 13:54
  6. * Description:
  7. */
  8. namespace common\modules\theme\backend\assets;
  9. class ThemeAsset extends \yii\web\AssetBundle
  10. {
  11. public $css = ['theme.css'];
  12. public function init()
  13. {
  14. parent::init(); // TODO: Change the autogenerated stub
  15. $this->sourcePath = dirname(__DIR__) . '/static';
  16. }
  17. }