Fixed installer problem without active theme

This commit is contained in:
Lucas Bartholemy 2015-11-13 08:13:23 +01:00
parent b2d57bcf8c
commit 63b5578273

View File

@ -188,6 +188,10 @@ class Theme extends \yii\base\Theme
$theme = self::getThemeByName($theme);
}
if ($theme === null) {
return [];
}
return [
'components' => [
'view' => [