activityReport = new activityReport($core); $core->url->register( 'activityReport', 'reports', '^reports/((atom|rss2)/(.+))$', array('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'); }