fix autoload

master
Jean-Christian Paul Denis 2022-12-02 01:07:48 +01:00
parent bfcf4e5c50
commit b893af072b
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 4 additions and 2 deletions

View File

@ -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');