From c5d09af24bfa3123e898a6169e44da7297bf34b3 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 3 Dec 2022 17:53:11 +0100 Subject: [PATCH] fix autoload --- _prepend.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/_prepend.php b/_prepend.php index f5a91a7..728e206 100644 --- a/_prepend.php +++ b/_prepend.php @@ -16,10 +16,12 @@ if (!defined('DC_RC_PATH')) { $d = __DIR__ . '/inc/lib.whitelistcom.php'; -Clearbricks::lib()->autoload(['whiteListCom' => $d]); -Clearbricks::lib()->autoload(['whiteListComBehaviors' => $d]); -Clearbricks::lib()->autoload(['whiteListComReservedFilter' => $d]); -Clearbricks::lib()->autoload(['whiteListComModeratedFilter' => $d]); +Clearbricks::lib()->autoload([ + 'whiteListCom' => $d, + 'whiteListComBehaviors' => $d, + 'whiteListComReservedFilter' => $d, + 'whiteListComModeratedFilter' => $d, +]); dcCore::app()->spamfilters[] = 'whiteListComModeratedFilter';