also use the default theme if the theme is set to an empty string in the config.php
This commit is contained in:
parent
7f6a9e8fef
commit
8406d3f7b1
1 changed files with 2 additions and 2 deletions
|
@ -819,9 +819,9 @@ class OC_Util {
|
|||
* @return string the theme
|
||||
*/
|
||||
public static function getTheme() {
|
||||
$theme = OC_Config::getValue("theme");
|
||||
$theme = OC_Config::getValue("theme", '');
|
||||
|
||||
if(is_null($theme)) {
|
||||
if($theme === '') {
|
||||
|
||||
if(is_dir(OC::$SERVERROOT . '/themes/default')) {
|
||||
$theme = 'default';
|
||||
|
|
Loading…
Reference in a new issue