fix autoload

This commit is contained in:
Jean-Christian Paul Denis 2022-11-30 22:34:00 +01:00
parent b6a157abb7
commit ede4975b86
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -14,8 +14,10 @@ if (!defined('DC_RC_PATH')) {
return null; return null;
} }
Clearbricks::lib()->autoload(['activityReport' => __DIR__ . '/inc/class.activity.report.php']); Clearbricks::lib()->autoload([
Clearbricks::lib()->autoload(['activityReportBehaviors' => __DIR__ . '/inc/class.activity.report.behaviors.php']); 'activityReport' => __DIR__ . '/inc/class.activity.report.php',
'activityReportBehaviors' => __DIR__ . '/inc/class.activity.report.behaviors.php',
]);
try { try {
if (!defined('ACTIVITY_REPORT_V2')) { if (!defined('ACTIVITY_REPORT_V2')) {