mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fix #867 fallback to 'default' skin instead of default skin
This commit is contained in:
parent
53ca1a7b4c
commit
917b56b07e
2 changed files with 3 additions and 6 deletions
|
|
@ -72,8 +72,7 @@ class boardMobile extends boardView
|
|||
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->module_info->skin);
|
||||
if(!is_dir($template_path)||!$this->module_info->skin)
|
||||
{
|
||||
$this->module_info->skin = 'default';
|
||||
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->module_info->skin);
|
||||
$template_path = sprintf("%sskins/%s/",$this->module_path, 'default');
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -81,8 +80,7 @@ class boardMobile extends boardView
|
|||
$template_path = sprintf("%sm.skins/%s/",$this->module_path, $this->module_info->mskin);
|
||||
if(!is_dir($template_path)||!$this->module_info->mskin)
|
||||
{
|
||||
$this->module_info->mskin = 'default';
|
||||
$template_path = sprintf("%sm.skins/%s/",$this->module_path, $this->module_info->mskin);
|
||||
$template_path = sprintf("%sm.skins/%s/",$this->module_path, 'default');
|
||||
}
|
||||
}
|
||||
$this->setTemplatePath($template_path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue