mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix Context::getRequestUri() returning null when used in CLI context
This commit is contained in:
parent
180ed429cf
commit
e02c5a04d3
1 changed files with 1 additions and 1 deletions
|
|
@ -1814,7 +1814,7 @@ class Context
|
|||
// Check HTTP Request
|
||||
if(!isset($_SERVER['SERVER_PROTOCOL']))
|
||||
{
|
||||
return;
|
||||
return self::getDefaultUrl();
|
||||
}
|
||||
|
||||
$site_module_info = self::get('site_module_info');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue