fix autoload
parent
bfcf4e5c50
commit
b893af072b
|
@ -14,8 +14,10 @@ if (!defined('DC_RC_PATH')) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
Clearbricks::lib()->autoload(['noodlesImg' => __DIR__ . '/inc/lib.noodles.img.php']);
|
Clearbricks::lib()->autoload([
|
||||||
Clearbricks::lib()->autoload(['noodlesLibImagePath' => __DIR__ . '/inc/lib.image.path.php']);
|
'noodlesImg' => __DIR__ . '/inc/lib.noodles.img.php',
|
||||||
|
'noodlesLibImagePath' => __DIR__ . '/inc/lib.image.path.php',
|
||||||
|
]);
|
||||||
|
|
||||||
dcCore::app()->blog->settings->addNamespace('noodles');
|
dcCore::app()->blog->settings->addNamespace('noodles');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue