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

@ -28,9 +28,9 @@ class menuAdminView extends menu
*/
function dispMenuAdminSiteMap()
{
Context::loadLang(_XE_PATH_.'modules/document/lang/');
Context::loadLang(_XE_PATH_.'modules/layout/lang/');
Context::loadLang(_XE_PATH_.'modules/autoinstall/lang/');
Context::loadLang(RX_BASEDIR.'modules/document/lang/');
Context::loadLang(RX_BASEDIR.'modules/layout/lang/');
Context::loadLang(RX_BASEDIR.'modules/autoinstall/lang/');
$site_srl = Context::get('site_srl');
$site_module_info = Context::get('site_module_info');
@ -58,7 +58,7 @@ class menuAdminView extends menu
Context::set('layout_list', $layoutList);
// choice theme file
$theme_file = _XE_PATH_.'files/theme/theme_info.php';
$theme_file = RX_BASEDIR.'files/theme/theme_info.php';
if(is_readable($theme_file))
{
include($theme_file);