yii-authモジュールで自分のレイアウトを使用したい。しかし、そのレイアウトでは私は持っています
<?php echo Yii::app()->theme->baseUrl; ?>
いくつかのcssファイルと画像をロードする必要があるためです。モジュールyii-authにはテーマが設定されていないため、テーマ「パネル」が設定されていないためエラーが発生します。
Yii-auth設定では、テーマではなくレイアウトのみを設定できます。
yii-authモジュールを変更することでこれを簡単に設定できますが、yii-authの更新中にこれについて覚えておく必要があります。それは汚い :)
問題は、modules / authフォルダーを教えずにyii-authのテーマを変更するにはどうすればよいですか?
編集:私のデフォルト設定は「パネル」以外です。config/main.phpで「theme」=>「panel」を設定できません。