fix autoload

master
Jean-Christian Paul Denis 2022-12-03 16:48:49 +01:00
parent 84bf5d08a0
commit 06d3ffaa13
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 5 additions and 5 deletions

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',
]);