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';
|
$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';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue