fix autoload

This commit is contained in:
Jean-Christian Denis 2022-12-03 16:48:49 +01:00
parent 84bf5d08a0
commit 06d3ffaa13
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -14,8 +14,8 @@ if (!defined('DC_RC_PATH')) {
return null;
}
$d = dirname(__FILE__) . '/inc/';
$__autoload['postWidgetText'] = $d . 'class.postwidgettext.php';
$__autoload['adminPostWidgetText'] = $d . 'lib.pwt.admin.php';
$__autoload['listPostWidgetText'] = $d . 'lib.pwt.list.php';
Clearbricks::lib()->autoload([
'postWidgetText' => __DIR__ . '/inc/class.postwidgettext.php',
'adminPostWidgetText' => __DIR__ . '/inc/lib.pwt.admin.php',
'listPostWidgetText' => __DIR__ . '/inc/lib.pwt.list.php',
]);