mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:50:11 +00:00
Move Config::get() to DI::config()->get()
This commit is contained in:
parent
5d294e8be8
commit
6c36fd9e01
126 changed files with 581 additions and 596 deletions
|
@ -19,7 +19,7 @@ class Theme
|
|||
{
|
||||
public static function getAllowedList()
|
||||
{
|
||||
$allowed_themes_str = Config::get('system', 'allowed_themes');
|
||||
$allowed_themes_str = DI::config()->get('system', 'allowed_themes');
|
||||
$allowed_themes_raw = explode(',', str_replace(' ', '', $allowed_themes_str));
|
||||
$allowed_themes = [];
|
||||
if (count($allowed_themes_raw)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue