From 3568ec005572467da99623afad8c225297a6aa2b Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Wed, 30 Nov 2022 23:41:49 +0100 Subject: [PATCH] fix autoload --- _prepend.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/_prepend.php b/_prepend.php index feae8ec..f24dbee 100644 --- a/_prepend.php +++ b/_prepend.php @@ -14,11 +14,13 @@ if (!defined('DC_RC_PATH')) { return null; } -Clearbricks::lib()->autoload(['cinecturlink2' => __DIR__ . '/inc/class.cinecturlink2.php']); -Clearbricks::lib()->autoload(['cinecturlink2Context' => __DIR__ . '/inc/lib.cinecturlink2.context.php']); -Clearbricks::lib()->autoload(['adminlistCinecturlink2' => __DIR__ . '/inc/lib.cinecturlink2.list.php']); -Clearbricks::lib()->autoload(['sitemapsCinecturlink2' => __DIR__ . '/inc/lib.sitemaps.cinecturlink2.php']); -Clearbricks::lib()->autoload(['cinecturlink2ActivityReportBehaviors' => __DIR__ . '/inc/lib.cinecturlink2.activityreport.php']); +Clearbricks::lib()->autoload([ + 'cinecturlink2' => __DIR__ . '/inc/class.cinecturlink2.php', + 'cinecturlink2Context' => __DIR__ . '/inc/lib.cinecturlink2.context.php', + 'adminlistCinecturlink2' => __DIR__ . '/inc/lib.cinecturlink2.list.php', + 'sitemapsCinecturlink2' => __DIR__ . '/inc/lib.sitemaps.cinecturlink2.php', + 'cinecturlink2ActivityReportBehaviors' => __DIR__ . '/inc/lib.cinecturlink2.activityreport.php', +]); dcCore::app()->url->register( 'cinecturlink2',