💩 Automaticallly use koblog admin theme instead of booty
This commit is contained in:
parent
1fe3640c28
commit
64f7d1cdd1
1 changed files with 3 additions and 1 deletions
|
@ -313,7 +313,9 @@ class Site extends dbJSON
|
|||
// Returns the admin theme name
|
||||
public function adminTheme()
|
||||
{
|
||||
return $this->getField('adminTheme');
|
||||
// HACK: Automatically replace the old theme "booty" by "koblog" to ensure
|
||||
// compatibility with old installs
|
||||
return ($this->getField('adminTheme') == "booty") ? "koblog" : $this->getField('adminTheme');
|
||||
}
|
||||
|
||||
// Returns the footer text
|
||||
|
|
Loading…
Add table
Reference in a new issue