Browse Source

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

tags/2018.05
Michael 2 years ago
parent
commit
9d0ed1a2af
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/App.php

+ 4
- 0
src/App.php View File

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

if (!$this->current_theme) {
$this->computeCurrentTheme();
}


Loading…
Cancel
Save