File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
user_guide_src/source/changelogs Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 12
12
namespace CodeIgniter \CLI ;
13
13
14
14
use CodeIgniter \CodeIgniter ;
15
+ use Config \App ;
15
16
use Config \Services ;
16
17
use Exception ;
17
18
@@ -31,6 +32,10 @@ class Console
31
32
*/
32
33
public function run ()
33
34
{
35
+ // Create CLIRequest
36
+ $ appConfig = config (App::class);
37
+ Services::createRequest ($ appConfig , true );
38
+
34
39
$ runner = Services::commands ();
35
40
$ params = array_merge (CLI ::getSegments (), CLI ::getOptions ());
36
41
$ params = $ this ->parseParamsForHelpOption ($ params );
Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ Bugs Fixed
38
38
39
39
- **CodeIgniter: ** Fixed a bug that returned "200 OK" response status code when
40
40
Page Not Found.
41
+ - **Spark: ** Fixed a bug that caused spark to not display exceptions in the
42
+ production mode or to display backtrace in json when an exception occurred.
41
43
42
44
See the repo's
43
45
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md >`_
You can’t perform that action at this time.
0 commit comments