File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 19
19
date_default_timezone_set ($ _ENV ['SERVER_DEFAULT_TIME_ZONE ' ]);
20
20
// session_start();
21
21
22
- include_once ("routes/web.php " );
22
+ use LionRoute \Route ;
23
+
24
+ Route::init ();
25
+ include_once ("routes/web.php " );
26
+ Route::dispatch ();
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
use LionRoute \Route ;
4
-
5
4
use LionRequest \Response ;
6
5
use Carbon \Carbon ;
7
6
8
7
// || ------------------------------------------------------------------------------
9
8
// || Web Routes
10
9
// || Here is where you can register web routes for your application.
11
10
// || ------------------------------------------------------------------------------
12
- Route::init ();
13
11
14
12
Route::get ('/ ' , function () {
15
13
return Response::success ('Welcome to index! ' . Carbon::now ());
16
- });
17
-
18
- Route::dispatch ();
14
+ });
You can’t perform that action at this time.
0 commit comments