fix autoload
parent
13fce7d3ee
commit
c5d09af24b
10
_prepend.php
10
_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';
|
||||
|
||||
|
|
Loading…
Reference in New Issue