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

Esse commit está contido em:
Michael 2018-05-20 05:44:20 +00:00
commit 9d0ed1a2af
1 arquivos alterados com 4 adições e 0 exclusões

Ver arquivo

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