mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Add no-op "else" clause to RX_BASEURL with appropriate comment
This commit is contained in:
parent
e361d2e40a
commit
5206085d5d
1 changed files with 5 additions and 0 deletions
|
|
@ -35,6 +35,11 @@ elseif (PHP_SAPI !== 'cli')
|
|||
{
|
||||
define('RX_BASEURL', '/');
|
||||
}
|
||||
else
|
||||
{
|
||||
// If in CLI mode, RX_BASEURL will be set in Context::init()
|
||||
// based on cached configuration values.
|
||||
}
|
||||
|
||||
/**
|
||||
* RX_REQUEST_URL is the remainder of the current URL (not including RX_BASEURL, hence without leading slash).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue