mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fix member module skin error if USE_DEFAULT is selected
This commit is contained in:
parent
db18192db3
commit
eee0eebff9
1 changed files with 5 additions and 1 deletions
|
|
@ -23,8 +23,12 @@ class MemberView extends Member
|
|||
|
||||
// Set the skin path
|
||||
$skin = $this->member_config->skin;
|
||||
if($skin)
|
||||
if ($skin)
|
||||
{
|
||||
if ($skin === '/USE_DEFAULT/')
|
||||
{
|
||||
$skin = 'default';
|
||||
}
|
||||
$template_path = sprintf('%sskins/%s', $this->module_path, $skin);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue