mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-05 03:22:10 +09:00
issue 160, if layout files not exists, delete layout instance. fixed a bug for return wrong info data when layout info.xml`s version is less than 0.2
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9342 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3e6e1d68d6
commit
68f31cb209
3 changed files with 13 additions and 3 deletions
|
|
@ -472,6 +472,7 @@
|
|||
foreach($layouts as $val){
|
||||
unset($layout_info);
|
||||
$layout_info = $oLayoutModel->getLayout($val->layout_srl);
|
||||
if (!$layout_info) continue;
|
||||
$layout_parse = explode('.', $layout_info->layout);
|
||||
if (count($layout_parse) == 2){
|
||||
$thumb_path = sprintf('./themes/%s/layout/%s/thumbnail.png', $layout_parse[0], $layout_parse[1]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue