activityReport = new activityReport($core); $core->url->register( 'activityReport', 'reports', '^reports/((atom|rss2)/(.+))$', ['activityReportPublicUrl', 'feed'] ); define('ACTIVITY_REPORT', true); require_once dirname(__FILE__) . '/inc/class.activity.report.behaviors.php'; } catch (Exception $e) { //throw new Exception('Failed to launch activityReport'); }