File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ public function run(array $params)
103103 $ docroot = escapeshellarg (FCPATH );
104104
105105 // Mimic Apache's mod_rewrite functionality with user settings.
106- $ rewrite = escapeshellarg (__DIR__ . '/ rewrite.php ' );
106+ $ rewrite = escapeshellarg (SYSTEMPATH . 'rewrite.php ' );
107107
108108 // Call PHP's built-in webserver, making sure to set our
109109 // base path to the public folder, and to use the rewrite file
Original file line number Diff line number Diff line change 2121 */
2222
2323// @codeCoverageIgnoreStart
24- // Avoid this file run when listing commands
25- if (PHP_SAPI === 'cli ' ) {
26- return ;
27- }
28-
2924$ uri = urldecode (
3025 parse_url ('https://codeigniter.com ' . $ _SERVER ['REQUEST_URI ' ], PHP_URL_PATH ) ?? ''
3126);
You can’t perform that action at this time.
0 commit comments