From b893af072b834bf7ced576eb5a62d1fe8638795b Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Fri, 2 Dec 2022 01:07:48 +0100 Subject: [PATCH] fix autoload --- _prepend.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_prepend.php b/_prepend.php index e78d814..26e3218 100644 --- a/_prepend.php +++ b/_prepend.php @@ -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');