mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +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
|
// Check HTTP Request
|
||||||
if(!isset($_SERVER['SERVER_PROTOCOL']))
|
if(!isset($_SERVER['SERVER_PROTOCOL']))
|
||||||
{
|
{
|
||||||
return;
|
return self::getDefaultUrl();
|
||||||
}
|
}
|
||||||
|
|
||||||
$site_module_info = self::get('site_module_info');
|
$site_module_info = self::get('site_module_info');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue