Issue 4956: Don't fail during installation because of a missing theme configuration

这个提交包含在:
Michael 2018-05-20 05:44:20 +00:00
父节点 139f7cdc41
当前提交 9d0ed1a2af
共有 1 个文件被更改,包括 4 次插入0 次删除

查看文件

@ -1091,6 +1091,10 @@ class App
*/
public function getCurrentTheme()
{
if ($this->mode == App::MODE_INSTALL) {
return '';
}
if (!$this->current_theme) {
$this->computeCurrentTheme();
}