X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FTheme.php;h=ff3265c90aea3afe1e13d724cbaa5b779eabf642;hb=e80d68ba53776bed047d897f52db7e25b35a479d;hp=7339157af5261a16ea97827c468cedc4e483d98e;hpb=6c36fd9e01510a14fea9de766b4afe6760912a2e;p=friendica.git diff --git a/src/Core/Theme.php b/src/Core/Theme.php index 7339157af5..ff3265c90a 100644 --- a/src/Core/Theme.php +++ b/src/Core/Theme.php @@ -1,7 +1,22 @@ . + * */ namespace Friendica\Core; @@ -36,7 +51,7 @@ class Theme public static function setAllowedList(array $allowed_themes) { - Config::set('system', 'allowed_themes', implode(',', array_unique($allowed_themes))); + DI::config()->set('system', 'allowed_themes', implode(',', array_unique($allowed_themes))); } /**