mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Fix some potentially misleading comments about constants
This commit is contained in:
parent
c48eb3a169
commit
234ba6c5c6
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ define('RX_TIME', intval(RX_MICROTIME));
|
||||||
define('RX_BASEDIR', str_replace('\\', '/', dirname(__DIR__)) . '/');
|
define('RX_BASEDIR', str_replace('\\', '/', dirname(__DIR__)) . '/');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* RX_BASEURL is the CLIENT-SIDE absolute path of Rhymix (with trailing slash, relative to the document root).
|
* RX_BASEURL is the CLIENT-SIDE absolute path of Rhymix (with trailing slash, not including the domain).
|
||||||
*/
|
*/
|
||||||
if ($_SERVER['DOCUMENT_ROOT'] && !strncmp(RX_BASEDIR, str_replace('\\', '/', $_SERVER['DOCUMENT_ROOT']), strlen($_SERVER['DOCUMENT_ROOT'])))
|
if ($_SERVER['DOCUMENT_ROOT'] && !strncmp(RX_BASEDIR, str_replace('\\', '/', $_SERVER['DOCUMENT_ROOT']), strlen($_SERVER['DOCUMENT_ROOT'])))
|
||||||
{
|
{
|
||||||
|
|
@ -37,7 +37,7 @@ elseif (PHP_SAPI !== 'cli')
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* RX_REQUEST_URL is the remainder of the current URL (not including RX_BASEURL).
|
* RX_REQUEST_URL is the remainder of the current URL (not including RX_BASEURL, hence without leading slash).
|
||||||
*/
|
*/
|
||||||
if (isset($_SERVER['REQUEST_URI']))
|
if (isset($_SERVER['REQUEST_URI']))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue