/**
* @file src/Core/Addon.php
*/
+
namespace Friendica\Core;
use Friendica\BaseObject;
*/
public static function saveEnabledList()
{
- return Config::set('system', 'addon', implode(', ', self::$addons));
+ return Config::set('system', 'addon', implode(',', self::$addons));
}
/**
public static function getAllowedList()
{
$allowed_themes_str = Config::get('system', 'allowed_themes');
- $allowed_themes_raw = explode(',', $allowed_themes_str);
+ $allowed_themes_raw = explode(',', str_replace(' ', '', $allowed_themes_str));
$allowed_themes = [];
if (count($allowed_themes_raw)) {
foreach ($allowed_themes_raw as $theme) {