fix autoload

This commit is contained in:
Jean-Christian Denis 2022-12-02 01:07:48 +01:00
parent bfcf4e5c50
commit b893af072b
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -14,8 +14,10 @@ if (!defined('DC_RC_PATH')) {
return null;
}
Clearbricks::lib()->autoload(['noodlesImg' => __DIR__ . '/inc/lib.noodles.img.php']);
Clearbricks::lib()->autoload(['noodlesLibImagePath' => __DIR__ . '/inc/lib.image.path.php']);
Clearbricks::lib()->autoload([
'noodlesImg' => __DIR__ . '/inc/lib.noodles.img.php',
'noodlesLibImagePath' => __DIR__ . '/inc/lib.image.path.php',
]);
dcCore::app()->blog->settings->addNamespace('noodles');