fix autoload
This commit is contained in:
parent
84bf5d08a0
commit
06d3ffaa13
1 changed files with 5 additions and 5 deletions
10
_prepend.php
10
_prepend.php
|
@ -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',
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue