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

@ -1216,7 +1216,7 @@ class documentController extends document
}*/
// new trash module
require_once(_XE_PATH_.'modules/trash/model/TrashVO.php');
require_once(RX_BASEDIR.'modules/trash/model/TrashVO.php');
$oTrashVO = new TrashVO();
$oTrashVO->setTrashSrl(getNextSequence());
$oTrashVO->setTitle($oDocument->variables['title']);

View file

@ -695,7 +695,7 @@ class documentModel extends document
{
// Category of the target module file swollen
$module_srl = intval($module_srl);
$filename = sprintf("%sfiles/cache/document_category/%d.php", _XE_PATH_, $module_srl);
$filename = sprintf("%sfiles/cache/document_category/%d.php", RX_BASEDIR, $module_srl);
// If the target file to the cache file regeneration category
if(!file_exists($filename))
{