Add no-op "else" clause to RX_BASEURL with appropriate comment

This commit is contained in:
Kijin Sung 2024-01-04 00:54:53 +09:00
parent e361d2e40a
commit 5206085d5d

View file

@ -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).