fix autoload

master
Jean-Christian Paul Denis 2022-12-03 17:53:11 +01:00
parent 13fce7d3ee
commit c5d09af24b
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 6 additions and 4 deletions

View File

@ -16,10 +16,12 @@ if (!defined('DC_RC_PATH')) {
$d = __DIR__ . '/inc/lib.whitelistcom.php'; $d = __DIR__ . '/inc/lib.whitelistcom.php';
Clearbricks::lib()->autoload(['whiteListCom' => $d]); Clearbricks::lib()->autoload([
Clearbricks::lib()->autoload(['whiteListComBehaviors' => $d]); 'whiteListCom' => $d,
Clearbricks::lib()->autoload(['whiteListComReservedFilter' => $d]); 'whiteListComBehaviors' => $d,
Clearbricks::lib()->autoload(['whiteListComModeratedFilter' => $d]); 'whiteListComReservedFilter' => $d,
'whiteListComModeratedFilter' => $d,
]);
dcCore::app()->spamfilters[] = 'whiteListComModeratedFilter'; dcCore::app()->spamfilters[] = 'whiteListComModeratedFilter';