mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
fixed communication theme shkin error
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9455 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8fd4b58bec
commit
f94ce148c7
1 changed files with 6 additions and 1 deletions
|
|
@ -18,7 +18,12 @@
|
|||
|
||||
Context::set('communication_config', $this->communication_config);
|
||||
|
||||
$tpl_path = sprintf('%sskins/%s', $this->module_path, $skin);
|
||||
$config_parse = explode('.', $skin);
|
||||
if (count($config_parse) > 1){
|
||||
$tpl_path = sprintf('./themes/%s/modules/communication/', $config_parse[0]);
|
||||
}else{
|
||||
$tpl_path = sprintf('%sskins/%s', $this->module_path, $skin);
|
||||
}
|
||||
$this->setTemplatePath($tpl_path);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue