| | |
| | | if (Features::forSite()->has('feed_block')) { |
| | | require(JVB_DIR . '/inc/rest/routes/FeedRoutes.php'); |
| | | } |
| | | if (Features::forSite()->has('magicLink')) { |
| | | require(JVB_DIR . '/inc/rest/routes/MagicLinkRoutes.php'); |
| | | } |
| | | if (Features::forSite()->has('favourites')) { |
| | | require(JVB_DIR . '/inc/rest/routes/FavouritesRoutes.php'); |
| | | } |
| | |
| | | require(JVB_DIR . '/inc/rest/routes/TermRoutes.php'); |
| | | } |
| | | |
| | | require(JVB_DIR . '/inc/rest/routes/QueueRoutes.php'); |
| | | require(JVB_DIR . '/inc/rest/routes/ErrorRoutes.php'); |
| | | require(JVB_DIR . '/inc/rest/routes/UploadRoutes.php'); |
| | | require(JVB_DIR . '/inc/rest/routes/SettingsRoutes.php'); |
| | | if (Features::forSite()->has('dashboard')) { |
| | | require(JVB_DIR . '/inc/rest/routes/QueueRoutes.php'); |
| | | require(JVB_DIR . '/inc/rest/routes/ErrorRoutes.php'); |
| | | require(JVB_DIR . '/inc/rest/routes/AdminRoutes.php'); |
| | | require(JVB_DIR . '/inc/rest/routes/ContentRoutes.php'); |
| | | require(JVB_DIR . '/inc/rest/routes/UploadRoutes.php'); |
| | | require(JVB_DIR . '/inc/rest/routes/BioRoutes.php'); |
| | | require(JVB_DIR . '/inc/rest/routes/SettingsRoutes.php'); |
| | | require(JVB_DIR . '/inc/rest/routes/ShopRoutes.php'); |
| | | } |
| | | if (Features::forMembership()->has('forum')) { |
| | |
| | | require(JVB_DIR . '/inc/rest/routes/ApprovalRoutes.php'); |
| | | } |
| | | |
| | | if (Features::hasIntegration('square')) { |
| | | require(JVB_DIR . '/inc/rest/routes/IntegrationsSquareRoutes.php'); |
| | | } |
| | | |
| | | require(JVB_DIR .'/inc/rest/routes/OptionsRoutes.php'); |
| | | require(JVB_DIR .'/inc/rest/routes/FormRoutes.php'); |
| | | require(JVB_DIR .'/inc/rest/routes/IntegrationsRoutes.php'); |
| | | require(JVB_DIR .'/inc/rest/routes/LoginRoutes.php'); |