diff --git a/system/Config/Services.php b/system/Config/Services.php index 8a6fcea286b2..54b7ca9278fe 100644 --- a/system/Config/Services.php +++ b/system/Config/Services.php @@ -127,9 +127,7 @@ public static function clirequest(\Config\App $config = null, $getShared = true) $config = new \Config\App(); } - return new \CodeIgniter\HTTP\CLIRequest( - $config, new \CodeIgniter\HTTP\URI() - ); + return new \CodeIgniter\HTTP\CLIRequest($config); } //--------------------------------------------------------------------