Mirror von https://github.com/friendica/friendica
Issue 4956: Don't fail during installation because of a missing theme configuration
Dieser Commit ist enthalten in:
Ursprung
139f7cdc41
Commit
9d0ed1a2af
|
@ -1091,6 +1091,10 @@ class App
|
|||
*/
|
||||
public function getCurrentTheme()
|
||||
{
|
||||
if ($this->mode == App::MODE_INSTALL) {
|
||||
return '';
|
||||
}
|
||||
|
||||
if (!$this->current_theme) {
|
||||
$this->computeCurrentTheme();
|
||||
}
|
||||
|
|
Laden…
In neuem Issue referenzieren