mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-19 07:50:39 +08:00
working on caching.
This commit is contained in:
@@ -126,7 +126,7 @@ class CTheme extends CComponent
|
||||
$module=$module->getParentModule();
|
||||
}
|
||||
if($module===null)
|
||||
$layoutName=Yii::app()->layout;
|
||||
$layoutName=\Yii::$application->layout;
|
||||
else
|
||||
{
|
||||
$layoutName=$module->layout;
|
||||
|
||||
Reference in New Issue
Block a user