diff --git a/src/Plugins/Admin/AdminPlugin.php b/src/Plugins/Admin/AdminPlugin.php index ff0aca7..2687520 100644 --- a/src/Plugins/Admin/AdminPlugin.php +++ b/src/Plugins/Admin/AdminPlugin.php @@ -114,8 +114,6 @@ class AdminPlugin extends AntPlugin } } else if (is_bool($value)) { $currentConfig[$key] = ($value) ? 'true' : 'false'; - } else if (is_array($value)) { - $currentConfig[$key] = implode(', ', $value); } } diff --git a/tests/Includes/Config.yaml b/tests/Includes/Config.yaml index 957ce65..af29083 100644 --- a/tests/Includes/Config.yaml +++ b/tests/Includes/Config.yaml @@ -5,3 +5,5 @@ activeTheme: Default enableCache: true debug: true baseURL: antcms.org/ +embed: + allowed_domains: [youtube.com, twitter.com, github.com, vimeo.com, flickr.com, instagram.com, facebook.com]