activityReport = new activityReport($core); $core->url->register( 'activityReport', 'reports', '^reports/((atom|rss2)/(.+))$', ['activityReportPublicUrl', 'feed'] ); define('ACTIVITY_REPORT', true); activityReportBehaviors::registerBehaviors($core); } catch (Exception $e) { //throw new Exception('Failed to launch activityReport'); }