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

This commit is contained in:
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();
}