mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
fix: base_url()/site_url() does not work on CLI
This commit is contained in:
parent
1520f30bb7
commit
e0df5f2fcd
@ -71,6 +71,9 @@ class CLIRequest extends Request
|
||||
ignore_user_abort(true);
|
||||
|
||||
$this->parseCommand();
|
||||
|
||||
// Set SiteURI for this request
|
||||
$this->uri = new SiteURI($config, $this->getPath());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user