Change blacklist to 2-dimensional array

관리 편의를 위해 블랙리스트를 자료 종류별로 구분합니다.
단, 기존과 같이 Context::isBlacklistedPlugin()을 호출하면
자료 종류 구분 없이 블랙리스트 여부를 알려줍니다.
This commit is contained in:
Kijin Sung 2021-01-24 11:39:42 +09:00
parent 6b32bc6789
commit 1ec6e1ec7a
9 changed files with 54 additions and 26 deletions

View file

@ -6,20 +6,33 @@
* Copyright (c) Rhymix Developers and Contributors
*/
return array(
'autolang' => true,
'auto_login' => true,
'errorlogger' => true,
'fix_mysql_utf8' => true,
'homepage' => true,
'jquerycdn' => true,
'member_communication' => true,
'multidomain' => true,
'seo' => true,
'session_shield' => true,
'smartphone' => true,
'trackback' => true,
'zipperupper' => true,
'elkha_www' => true,
'autowww' => true,
'fix_domain' => true,
// Addons
'addon' => array(
'autolang' => true,
'autowww' => true,
'elkha_www' => true,
'fix_domain' => true,
'fix_mysql_utf8' => true,
'jquerycdn' => true,
'member_communication' => true,
'session_shield' => true,
'smartphone' => true,
'zipperupper' => true,
),
// Modules
'module' => array(
'auto_login' => true,
'errorlogger' => true,
'homepage' => true,
'multidomain' => true,
'seo' => true,
'trackback' => true,
),
// Widgets
'widget' => array(
),
);