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']); dcCore::app()->url->register( 'cinecturlink2', 'cinecturlink', '^cinecturlink(?:/(.+))?$', ['urlCinecturlink2', 'c2Page'] ); dcCore::app()->addBehavior( 'sitemapsDefineParts', ['sitemapsCinecturlink2', 'sitemapsDefineParts'] ); dcCore::app()->addBehavior( 'sitemapsURLsCollect', ['sitemapsCinecturlink2', 'sitemapsURLsCollect'] ); if (defined('ACTIVITY_REPORT')) { cinecturlink2ActivityReportBehaviors::add(); }