mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 08:42:15 +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
|
|
@ -239,13 +239,13 @@ class layoutModel extends layout
|
|||
//TODO If remove a support themes, remove this codes also.
|
||||
if($layoutType == 'P')
|
||||
{
|
||||
$pathPrefix = _XE_PATH_ . 'layouts/';
|
||||
$themePathFormat = _XE_PATH_ . 'themes/%s/layouts/%s';
|
||||
$pathPrefix = RX_BASEDIR . 'layouts/';
|
||||
$themePathFormat = RX_BASEDIR . 'themes/%s/layouts/%s';
|
||||
}
|
||||
else
|
||||
{
|
||||
$pathPrefix = _XE_PATH_ . 'm.layouts/';
|
||||
$themePathFormat = _XE_PATH_ . 'themes/%s/m.layouts/%s';
|
||||
$pathPrefix = RX_BASEDIR . 'm.layouts/';
|
||||
$themePathFormat = RX_BASEDIR . 'themes/%s/m.layouts/%s';
|
||||
}
|
||||
|
||||
if(strpos($layout, '|@|') !== FALSE)
|
||||
|
|
@ -932,11 +932,11 @@ class layoutModel extends layout
|
|||
{
|
||||
if($layout_type=='P')
|
||||
{
|
||||
return sprintf("%sfiles/cache/layout/%s.%s.cache.php", _XE_PATH_, $layout_name,$lang_type);
|
||||
return sprintf("%sfiles/cache/layout/%s.%s.cache.php", RX_BASEDIR, $layout_name,$lang_type);
|
||||
}
|
||||
else
|
||||
{
|
||||
return sprintf("%sfiles/cache/layout/m.%s.%s.cache.php", _XE_PATH_, $layout_name,$lang_type);
|
||||
return sprintf("%sfiles/cache/layout/m.%s.%s.cache.php", RX_BASEDIR, $layout_name,$lang_type);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue