Skip to content

Commit

Permalink
fix: base_url()/site_url() does not work on CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Sep 6, 2023
1 parent 1520f30 commit e0df5f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system/HTTP/CLIRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ public function __construct(App $config)
ignore_user_abort(true);

$this->parseCommand();

// Set SiteURI for this request
$this->uri = new SiteURI($config, $this->getPath());
}

/**
Expand Down

0 comments on commit e0df5f2

Please sign in to comment.