@@ -6,27 +6,27 @@ |
||
6 | 6 | |
7 | 7 | class AssignRelationsSeeder extends Seeder |
8 | 8 | { |
9 | - /** |
|
10 | - * Run the database seeds. |
|
11 | - * |
|
12 | - * @return void |
|
13 | - */ |
|
14 | - public function run() |
|
15 | - { |
|
16 | - $adminRoleId = \DB::table('roles')->where('name', 'admin')->select('id')->first()->id; |
|
9 | + /** |
|
10 | + * Run the database seeds. |
|
11 | + * |
|
12 | + * @return void |
|
13 | + */ |
|
14 | + public function run() |
|
15 | + { |
|
16 | + $adminRoleId = \DB::table('roles')->where('name', 'admin')->select('id')->first()->id; |
|
17 | 17 | |
18 | - /** |
|
19 | - * Assign the permissions to the admin role. |
|
20 | - */ |
|
21 | - \DB::table('permissions')->orderBy('created_at', 'asc')->whereIn('model', ['report'])->each(function ($permission) use ($adminRoleId) { |
|
22 | - \DB::table('permission_role')->insert( |
|
23 | - [ |
|
24 | - 'permission_id' => $permission->id, |
|
25 | - 'role_id' => $adminRoleId, |
|
26 | - 'created_at' => \DB::raw('NOW()'), |
|
27 | - 'updated_at' => \DB::raw('NOW()') |
|
28 | - ] |
|
29 | - ); |
|
30 | - }); |
|
31 | - } |
|
18 | + /** |
|
19 | + * Assign the permissions to the admin role. |
|
20 | + */ |
|
21 | + \DB::table('permissions')->orderBy('created_at', 'asc')->whereIn('model', ['report'])->each(function ($permission) use ($adminRoleId) { |
|
22 | + \DB::table('permission_role')->insert( |
|
23 | + [ |
|
24 | + 'permission_id' => $permission->id, |
|
25 | + 'role_id' => $adminRoleId, |
|
26 | + 'created_at' => \DB::raw('NOW()'), |
|
27 | + 'updated_at' => \DB::raw('NOW()') |
|
28 | + ] |
|
29 | + ); |
|
30 | + }); |
|
31 | + } |
|
32 | 32 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | /** |
19 | 19 | * Assign the permissions to the admin role. |
20 | 20 | */ |
21 | - \DB::table('permissions')->orderBy('created_at', 'asc')->whereIn('model', ['report'])->each(function ($permission) use ($adminRoleId) { |
|
21 | + \DB::table('permissions')->orderBy('created_at', 'asc')->whereIn('model', ['report'])->each(function($permission) use ($adminRoleId) { |
|
22 | 22 | \DB::table('permission_role')->insert( |
23 | 23 | [ |
24 | 24 | 'permission_id' => $permission->id, |
@@ -6,15 +6,15 @@ |
||
6 | 6 | |
7 | 7 | class ClearDataSeeder extends Seeder |
8 | 8 | { |
9 | - /** |
|
10 | - * Run the database seeds. |
|
11 | - * |
|
12 | - * @return void |
|
13 | - */ |
|
14 | - public function run() |
|
15 | - { |
|
16 | - $permissions = \DB::table('permissions')->whereIn('model', ['report']); |
|
17 | - \DB::table('permission_role')->whereIn('permission_id', $permissions->pluck('id'))->delete(); |
|
18 | - $permissions->delete(); |
|
19 | - } |
|
9 | + /** |
|
10 | + * Run the database seeds. |
|
11 | + * |
|
12 | + * @return void |
|
13 | + */ |
|
14 | + public function run() |
|
15 | + { |
|
16 | + $permissions = \DB::table('permissions')->whereIn('model', ['report']); |
|
17 | + \DB::table('permission_role')->whereIn('permission_id', $permissions->pluck('id'))->delete(); |
|
18 | + $permissions->delete(); |
|
19 | + } |
|
20 | 20 | } |
@@ -5,14 +5,14 @@ discard block |
||
5 | 5 | |
6 | 6 | class SampelReport extends Migration |
7 | 7 | { |
8 | - /** |
|
9 | - * Run the migrations. |
|
10 | - * |
|
11 | - * @return void |
|
12 | - */ |
|
13 | - public function up() |
|
14 | - { |
|
15 | - DB::statement("CREATE VIEW admin_count AS |
|
8 | + /** |
|
9 | + * Run the migrations. |
|
10 | + * |
|
11 | + * @return void |
|
12 | + */ |
|
13 | + public function up() |
|
14 | + { |
|
15 | + DB::statement("CREATE VIEW admin_count AS |
|
16 | 16 | select count(u.id) |
17 | 17 | from users u, roles g ,role_user ug |
18 | 18 | where |
@@ -20,25 +20,25 @@ discard block |
||
20 | 20 | ug.role_id = g.id |
21 | 21 | "); |
22 | 22 | |
23 | - DB::table('reports')->insert( |
|
24 | - [ |
|
25 | - [ |
|
26 | - 'report_name' => 'admin_count', |
|
27 | - 'view_name' => 'admin_count', |
|
28 | - 'created_at' => \DB::raw('NOW()'), |
|
29 | - 'updated_at' => \DB::raw('NOW()') |
|
30 | - ] |
|
31 | - ] |
|
32 | - ); |
|
33 | - } |
|
23 | + DB::table('reports')->insert( |
|
24 | + [ |
|
25 | + [ |
|
26 | + 'report_name' => 'admin_count', |
|
27 | + 'view_name' => 'admin_count', |
|
28 | + 'created_at' => \DB::raw('NOW()'), |
|
29 | + 'updated_at' => \DB::raw('NOW()') |
|
30 | + ] |
|
31 | + ] |
|
32 | + ); |
|
33 | + } |
|
34 | 34 | |
35 | - /** |
|
36 | - * Reverse the migrations. |
|
37 | - * |
|
38 | - * @return void |
|
39 | - */ |
|
40 | - public function down() |
|
41 | - { |
|
42 | - DB::statement("DROP VIEW IF EXISTS admin_count"); |
|
43 | - } |
|
35 | + /** |
|
36 | + * Reverse the migrations. |
|
37 | + * |
|
38 | + * @return void |
|
39 | + */ |
|
40 | + public function down() |
|
41 | + { |
|
42 | + DB::statement("DROP VIEW IF EXISTS admin_count"); |
|
43 | + } |
|
44 | 44 | } |
@@ -6,14 +6,14 @@ |
||
6 | 6 | |
7 | 7 | class View extends JsonResource |
8 | 8 | { |
9 | - /** |
|
10 | - * Transform the resource into an array. |
|
11 | - * |
|
12 | - * @param Request $request |
|
13 | - * @return array |
|
14 | - */ |
|
15 | - public function toArray($request) |
|
16 | - { |
|
17 | - return [$this->resource]; |
|
18 | - } |
|
9 | + /** |
|
10 | + * Transform the resource into an array. |
|
11 | + * |
|
12 | + * @param Request $request |
|
13 | + * @return array |
|
14 | + */ |
|
15 | + public function toArray($request) |
|
16 | + { |
|
17 | + return [$this->resource]; |
|
18 | + } |
|
19 | 19 | } |
@@ -9,40 +9,40 @@ |
||
9 | 9 | |
10 | 10 | class ReportController extends BaseApiController |
11 | 11 | { |
12 | - /** |
|
13 | - * Path of the model resource |
|
14 | - * |
|
15 | - * @var string |
|
16 | - */ |
|
17 | - protected $modelResource = 'App\Modules\Reporting\Http\Resources\Report'; |
|
12 | + /** |
|
13 | + * Path of the model resource |
|
14 | + * |
|
15 | + * @var string |
|
16 | + */ |
|
17 | + protected $modelResource = 'App\Modules\Reporting\Http\Resources\Report'; |
|
18 | 18 | |
19 | - /** |
|
20 | - * List of all route actions that the base api controller |
|
21 | - * will skip permissions check for them. |
|
22 | - * @var array |
|
23 | - */ |
|
24 | - protected $skipPermissionCheck = ['getReport']; |
|
19 | + /** |
|
20 | + * List of all route actions that the base api controller |
|
21 | + * will skip permissions check for them. |
|
22 | + * @var array |
|
23 | + */ |
|
24 | + protected $skipPermissionCheck = ['getReport']; |
|
25 | 25 | |
26 | - /** |
|
27 | - * Init new object. |
|
28 | - * |
|
29 | - * @param ReportService $service |
|
30 | - * @return void |
|
31 | - */ |
|
32 | - public function __construct(ReportService $service) |
|
33 | - { |
|
34 | - parent::__construct($service); |
|
35 | - } |
|
26 | + /** |
|
27 | + * Init new object. |
|
28 | + * |
|
29 | + * @param ReportService $service |
|
30 | + * @return void |
|
31 | + */ |
|
32 | + public function __construct(ReportService $service) |
|
33 | + { |
|
34 | + parent::__construct($service); |
|
35 | + } |
|
36 | 36 | |
37 | - /** |
|
38 | - * Render the given servicert name with the given conditions. |
|
39 | - * |
|
40 | - * @param Request $request |
|
41 | - * @param string $reportName Name of the requested servicert |
|
42 | - * @return \Illuminate\Http\Response |
|
43 | - */ |
|
44 | - public function getReport(Request $request, $reportName) |
|
45 | - { |
|
46 | - return new ViewResource($this->service->getReport($reportName, $request->all(), $request->query('perPage'))); |
|
47 | - } |
|
37 | + /** |
|
38 | + * Render the given servicert name with the given conditions. |
|
39 | + * |
|
40 | + * @param Request $request |
|
41 | + * @param string $reportName Name of the requested servicert |
|
42 | + * @return \Illuminate\Http\Response |
|
43 | + */ |
|
44 | + public function getReport(Request $request, $reportName) |
|
45 | + { |
|
46 | + return new ViewResource($this->service->getReport($reportName, $request->all(), $request->query('perPage'))); |
|
47 | + } |
|
48 | 48 | } |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace App\Providers; |
4 | 4 | |
5 | -use Illuminate\Support\ServiceProvider; |
|
5 | +use Illuminate\Support\ServiceProvider; |
|
6 | 6 | use Illuminate\Support\Facades\Broadcast; |
7 | 7 | |
8 | 8 | class BroadcastServiceProvider extends ServiceProvider |
@@ -7,15 +7,15 @@ |
||
7 | 7 | |
8 | 8 | class BroadcastServiceProvider extends ServiceProvider |
9 | 9 | { |
10 | - /** |
|
11 | - * Bootstrap any application services. |
|
12 | - * |
|
13 | - * @return void |
|
14 | - */ |
|
15 | - public function boot() |
|
16 | - { |
|
17 | - Broadcast::routes(['middleware' => ['auth:api']]); |
|
10 | + /** |
|
11 | + * Bootstrap any application services. |
|
12 | + * |
|
13 | + * @return void |
|
14 | + */ |
|
15 | + public function boot() |
|
16 | + { |
|
17 | + Broadcast::routes(['middleware' => ['auth:api']]); |
|
18 | 18 | |
19 | - require base_path('routes/channels.php'); |
|
20 | - } |
|
19 | + require base_path('routes/channels.php'); |
|
20 | + } |
|
21 | 21 | } |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace App\Exceptions; |
4 | 4 | |
5 | -use Exception; |
|
5 | +use Exception; |
|
6 | 6 | use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; |
7 | 7 | |
8 | 8 | class Handler extends ExceptionHandler |
@@ -7,67 +7,67 @@ |
||
7 | 7 | |
8 | 8 | class Handler extends ExceptionHandler |
9 | 9 | { |
10 | - /** |
|
11 | - * A list of the exception types that are not reported. |
|
12 | - * |
|
13 | - * @var array |
|
14 | - */ |
|
15 | - protected $dontReport = [ |
|
16 | - \League\OAuth2\Server\Exception\OAuthServerException::class, |
|
17 | - ]; |
|
10 | + /** |
|
11 | + * A list of the exception types that are not reported. |
|
12 | + * |
|
13 | + * @var array |
|
14 | + */ |
|
15 | + protected $dontReport = [ |
|
16 | + \League\OAuth2\Server\Exception\OAuthServerException::class, |
|
17 | + ]; |
|
18 | 18 | |
19 | - /** |
|
20 | - * A list of the inputs that are never flashed for validation exceptions. |
|
21 | - * |
|
22 | - * @var array |
|
23 | - */ |
|
24 | - protected $dontFlash = [ |
|
25 | - 'password', |
|
26 | - 'password_confirmation', |
|
27 | - ]; |
|
19 | + /** |
|
20 | + * A list of the inputs that are never flashed for validation exceptions. |
|
21 | + * |
|
22 | + * @var array |
|
23 | + */ |
|
24 | + protected $dontFlash = [ |
|
25 | + 'password', |
|
26 | + 'password_confirmation', |
|
27 | + ]; |
|
28 | 28 | |
29 | - /** |
|
30 | - * Report or log an exception. |
|
31 | - * |
|
32 | - * This is a great spot to send exceptions to Sentry, Bugsnag, etc. |
|
33 | - * |
|
34 | - * @param \Exception $exception |
|
35 | - * @return void |
|
36 | - */ |
|
37 | - public function report(Exception $exception) |
|
38 | - { |
|
39 | - parent::report($exception); |
|
40 | - } |
|
29 | + /** |
|
30 | + * Report or log an exception. |
|
31 | + * |
|
32 | + * This is a great spot to send exceptions to Sentry, Bugsnag, etc. |
|
33 | + * |
|
34 | + * @param \Exception $exception |
|
35 | + * @return void |
|
36 | + */ |
|
37 | + public function report(Exception $exception) |
|
38 | + { |
|
39 | + parent::report($exception); |
|
40 | + } |
|
41 | 41 | |
42 | - /** |
|
43 | - * Render an exception into an HTTP response. |
|
44 | - * |
|
45 | - * @param \Illuminate\Http\Request $request |
|
46 | - * @param \Exception $exception |
|
47 | - * @return \Illuminate\Http\Response |
|
48 | - */ |
|
49 | - public function render($request, Exception $exception) |
|
50 | - { |
|
51 | - if ($request->wantsJson()) { |
|
52 | - if ($exception instanceof \Illuminate\Auth\AuthenticationException) { |
|
53 | - \ErrorHandler::unAuthorized(); |
|
54 | - } |
|
55 | - if ($exception instanceof \Illuminate\Database\QueryException) { |
|
56 | - \ErrorHandler::dbQueryError(); |
|
57 | - } elseif ($exception instanceof \predis\connection\connectionexception) { |
|
58 | - \ErrorHandler::redisNotRunning(); |
|
59 | - } elseif ($exception instanceof \GuzzleHttp\Exception\ClientException) { |
|
60 | - \ErrorHandler::connectionError(); |
|
61 | - } elseif ($exception instanceof \Symfony\Component\HttpKernel\Exception\HttpException) { |
|
62 | - $errors = $exception->getStatusCode() === 404 ? 'not found' : $exception->getMessage(); |
|
63 | - return \Response::json(['errors' => [$errors]], $exception->getStatusCode()); |
|
64 | - } elseif ($exception instanceof \Illuminate\Validation\ValidationException) { |
|
65 | - return \Response::json(['errors' => $exception->errors()], 422); |
|
66 | - } elseif (! $exception instanceof \Symfony\Component\ErrorHandler\Error\FatalError) { |
|
67 | - return parent::render($request, $exception); |
|
68 | - } |
|
69 | - } |
|
42 | + /** |
|
43 | + * Render an exception into an HTTP response. |
|
44 | + * |
|
45 | + * @param \Illuminate\Http\Request $request |
|
46 | + * @param \Exception $exception |
|
47 | + * @return \Illuminate\Http\Response |
|
48 | + */ |
|
49 | + public function render($request, Exception $exception) |
|
50 | + { |
|
51 | + if ($request->wantsJson()) { |
|
52 | + if ($exception instanceof \Illuminate\Auth\AuthenticationException) { |
|
53 | + \ErrorHandler::unAuthorized(); |
|
54 | + } |
|
55 | + if ($exception instanceof \Illuminate\Database\QueryException) { |
|
56 | + \ErrorHandler::dbQueryError(); |
|
57 | + } elseif ($exception instanceof \predis\connection\connectionexception) { |
|
58 | + \ErrorHandler::redisNotRunning(); |
|
59 | + } elseif ($exception instanceof \GuzzleHttp\Exception\ClientException) { |
|
60 | + \ErrorHandler::connectionError(); |
|
61 | + } elseif ($exception instanceof \Symfony\Component\HttpKernel\Exception\HttpException) { |
|
62 | + $errors = $exception->getStatusCode() === 404 ? 'not found' : $exception->getMessage(); |
|
63 | + return \Response::json(['errors' => [$errors]], $exception->getStatusCode()); |
|
64 | + } elseif ($exception instanceof \Illuminate\Validation\ValidationException) { |
|
65 | + return \Response::json(['errors' => $exception->errors()], 422); |
|
66 | + } elseif (! $exception instanceof \Symfony\Component\ErrorHandler\Error\FatalError) { |
|
67 | + return parent::render($request, $exception); |
|
68 | + } |
|
69 | + } |
|
70 | 70 | |
71 | - return parent::render($request, $exception); |
|
72 | - } |
|
71 | + return parent::render($request, $exception); |
|
72 | + } |
|
73 | 73 | } |
@@ -63,7 +63,7 @@ |
||
63 | 63 | return \Response::json(['errors' => [$errors]], $exception->getStatusCode()); |
64 | 64 | } elseif ($exception instanceof \Illuminate\Validation\ValidationException) { |
65 | 65 | return \Response::json(['errors' => $exception->errors()], 422); |
66 | - } elseif (! $exception instanceof \Symfony\Component\ErrorHandler\Error\FatalError) { |
|
66 | + } elseif ( ! $exception instanceof \Symfony\Component\ErrorHandler\Error\FatalError) { |
|
67 | 67 | return parent::render($request, $exception); |
68 | 68 | } |
69 | 69 | } |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use App\Modules\Core\BaseClasses\BaseApiController; |
6 | 6 | use App\Modules\DummyModule\Services\DummyService; |
7 | -use App\Modules\Core\Utl\CoreConfig; |
|
8 | 7 | use App\Modules\DummyModule\Http\Requests\InsertDummy; |
9 | 8 | use App\Modules\DummyModule\Http\Requests\UpdateDummy; |
10 | 9 |
@@ -10,57 +10,57 @@ |
||
10 | 10 | |
11 | 11 | class DummyController extends BaseApiController |
12 | 12 | { |
13 | - /** |
|
14 | - * Path of the model resource |
|
15 | - * |
|
16 | - * @var string |
|
17 | - */ |
|
18 | - protected $modelResource = 'App\Modules\DummyModule\Http\Resources\DummyModel'; |
|
13 | + /** |
|
14 | + * Path of the model resource |
|
15 | + * |
|
16 | + * @var string |
|
17 | + */ |
|
18 | + protected $modelResource = 'App\Modules\DummyModule\Http\Resources\DummyModel'; |
|
19 | 19 | |
20 | - /** |
|
21 | - * List of all route actions that the base api controller |
|
22 | - * will skip permissions check for them. |
|
23 | - * @var array |
|
24 | - */ |
|
25 | - protected $skipPermissionCheck = []; |
|
20 | + /** |
|
21 | + * List of all route actions that the base api controller |
|
22 | + * will skip permissions check for them. |
|
23 | + * @var array |
|
24 | + */ |
|
25 | + protected $skipPermissionCheck = []; |
|
26 | 26 | |
27 | - /** |
|
28 | - * List of all route actions that the base api controller |
|
29 | - * will skip login check for them. |
|
30 | - * @var array |
|
31 | - */ |
|
32 | - protected $skipLoginCheck = []; |
|
27 | + /** |
|
28 | + * List of all route actions that the base api controller |
|
29 | + * will skip login check for them. |
|
30 | + * @var array |
|
31 | + */ |
|
32 | + protected $skipLoginCheck = []; |
|
33 | 33 | |
34 | - /** |
|
35 | - * Init new object. |
|
36 | - * |
|
37 | - * @param DummyService $service |
|
38 | - * @return void |
|
39 | - */ |
|
40 | - public function __construct(DummyService $service) |
|
41 | - { |
|
42 | - parent::__construct($service); |
|
43 | - } |
|
34 | + /** |
|
35 | + * Init new object. |
|
36 | + * |
|
37 | + * @param DummyService $service |
|
38 | + * @return void |
|
39 | + */ |
|
40 | + public function __construct(DummyService $service) |
|
41 | + { |
|
42 | + parent::__construct($service); |
|
43 | + } |
|
44 | 44 | |
45 | - /** |
|
46 | - * Insert the given model to storage. |
|
47 | - * |
|
48 | - * @param InsertDummy $request |
|
49 | - * @return \Illuminate\Http\Response |
|
50 | - */ |
|
51 | - public function insert(InsertDummy $request) |
|
52 | - { |
|
53 | - return new $this->modelResource($this->service->save($request->all())); |
|
54 | - } |
|
45 | + /** |
|
46 | + * Insert the given model to storage. |
|
47 | + * |
|
48 | + * @param InsertDummy $request |
|
49 | + * @return \Illuminate\Http\Response |
|
50 | + */ |
|
51 | + public function insert(InsertDummy $request) |
|
52 | + { |
|
53 | + return new $this->modelResource($this->service->save($request->all())); |
|
54 | + } |
|
55 | 55 | |
56 | - /** |
|
57 | - * Update the given model to storage. |
|
58 | - * |
|
59 | - * @param UpdateDummy $request |
|
60 | - * @return \Illuminate\Http\Response |
|
61 | - */ |
|
62 | - public function update(UpdateDummy $request) |
|
63 | - { |
|
64 | - return new $this->modelResource($this->service->save($request->all())); |
|
65 | - } |
|
56 | + /** |
|
57 | + * Update the given model to storage. |
|
58 | + * |
|
59 | + * @param UpdateDummy $request |
|
60 | + * @return \Illuminate\Http\Response |
|
61 | + */ |
|
62 | + public function update(UpdateDummy $request) |
|
63 | + { |
|
64 | + return new $this->modelResource($this->service->save($request->all())); |
|
65 | + } |
|
66 | 66 | } |
@@ -10,38 +10,38 @@ |
||
10 | 10 | |
11 | 11 | class Kernel extends ConsoleKernel |
12 | 12 | { |
13 | - /** |
|
14 | - * The Artisan commands provided by your application. |
|
15 | - * |
|
16 | - * @var array |
|
17 | - */ |
|
18 | - protected $commands = [ |
|
19 | - GenerateDoc::class, |
|
20 | - MakeNotificationsCommand::class, |
|
21 | - MakeModuleCommand::class |
|
22 | - ]; |
|
13 | + /** |
|
14 | + * The Artisan commands provided by your application. |
|
15 | + * |
|
16 | + * @var array |
|
17 | + */ |
|
18 | + protected $commands = [ |
|
19 | + GenerateDoc::class, |
|
20 | + MakeNotificationsCommand::class, |
|
21 | + MakeModuleCommand::class |
|
22 | + ]; |
|
23 | 23 | |
24 | - /** |
|
25 | - * Define the application's command schedule. |
|
26 | - * |
|
27 | - * @param \Illuminate\Console\Scheduling\Schedule $schedule |
|
28 | - * @return void |
|
29 | - */ |
|
30 | - protected function schedule(Schedule $schedule) |
|
31 | - { |
|
32 | - // $schedule->command('inspire') |
|
33 | - // ->hourly(); |
|
34 | - } |
|
24 | + /** |
|
25 | + * Define the application's command schedule. |
|
26 | + * |
|
27 | + * @param \Illuminate\Console\Scheduling\Schedule $schedule |
|
28 | + * @return void |
|
29 | + */ |
|
30 | + protected function schedule(Schedule $schedule) |
|
31 | + { |
|
32 | + // $schedule->command('inspire') |
|
33 | + // ->hourly(); |
|
34 | + } |
|
35 | 35 | |
36 | - /** |
|
37 | - * Register the commands for the application. |
|
38 | - * |
|
39 | - * @return void |
|
40 | - */ |
|
41 | - protected function commands() |
|
42 | - { |
|
43 | - $this->load(__DIR__.'/Commands'); |
|
36 | + /** |
|
37 | + * Register the commands for the application. |
|
38 | + * |
|
39 | + * @return void |
|
40 | + */ |
|
41 | + protected function commands() |
|
42 | + { |
|
43 | + $this->load(__DIR__.'/Commands'); |
|
44 | 44 | |
45 | - require base_path('routes/console.php'); |
|
46 | - } |
|
45 | + require base_path('routes/console.php'); |
|
46 | + } |
|
47 | 47 | } |