| @@ -1,12 +1,13 @@ | ||
| 1 | -<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
| 1 | +<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly | |
| 2 | +} | |
| 2 | 3 | /** |
| 3 | - * @var $router FluentCommunity\Framework\Http\Router | |
| 4 | + * @var FluentCommunity\Framework\Http\Router $router | |
| 4 | 5 | */ |
| 5 | 6 | |
| 6 | -$router->namespace('FluentCommunity\App\Http\Controllers')->group(function($router) { | |
| 7 | +$router->namespace('FluentCommunity\App\Http\Controllers')->group(function ($router) { | |
| 7 | 8 | require_once __DIR__ . '/api.php'; |
| 8 | 9 | }); |
| 9 | 10 | |
| 10 | -if (file_exists(FLUENT_COMMUNITY_PLUGIN_DIR .'dev/seed-routes.php')) { | |
| 11 | - require_once FLUENT_COMMUNITY_PLUGIN_DIR .'dev/seed-routes.php'; | |
| 12 | -} | |
| 11 | +//if (file_exists(FLUENT_COMMUNITY_PLUGIN_DIR .'dev/seed-routes.php')) { | |
| 12 | +// require_once FLUENT_COMMUNITY_PLUGIN_DIR .'dev/seed-routes.php'; | |
| 13 | +//} | |