mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
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:
parent
4fdb51d689
commit
b0f66a36c5
43 changed files with 104 additions and 105 deletions
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ class XmlLangParser extends XeXmlParser
|
|||
|
||||
/**
|
||||
* language type
|
||||
* @see _XE_PATH_.'/common/lang/lang.info'
|
||||
* @var string
|
||||
*/
|
||||
var $lang_type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue