Convert all instances of _XE_PATH_, __XE_VERSION__, etc. to Rhymix constants

_XE_PATH_ -> RX_BASEDIR
__XE_VERSION__ -> RX_VERSION
This commit is contained in:
Kijin Sung 2020-12-18 15:21:18 +09:00
parent 4fdb51d689
commit b0f66a36c5
43 changed files with 104 additions and 105 deletions

View file

@ -2546,7 +2546,7 @@ class Context
*/
public static function pathToUrl($path)
{
$xe = _XE_PATH_;
$xe = RX_BASEDIR;
$path = strtr($path, "\\", "/");
$base_url = preg_replace('@^https?://[^/]+/?@', '', self::getRequestUri());

View file

@ -96,7 +96,7 @@ class Validator
));
$this->_has_mb_func = is_callable('mb_strlen');
$this->setCacheDir(_XE_PATH_ . 'files/cache');
$this->setCacheDir(RX_BASEDIR . 'files/cache');
}
/**

View file

@ -42,7 +42,6 @@ class XmlLangParser extends XeXmlParser
/**
* language type
* @see _XE_PATH_.'/common/lang/lang.info'
* @var string
*/
var $lang_type;