From 007389be79494b2db15e99cd4f3591481368d885 Mon Sep 17 00:00:00 2001 From: "Ji Yong, Kim" Date: Fri, 30 Apr 2021 02:26:10 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20#1698=20=EB=AA=A8=EB=B0=94=EC=9D=BC=20?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=EC=9D=98=20=EC=8D=B8?= =?UTF-8?q?=EB=84=A4=EC=9D=BC=EC=9D=84=20PC=20=EB=A0=88=EC=9D=B4=EC=95=84?= =?UTF-8?q?=EC=9B=83=20=ED=8F=B4=EB=8D=94=EC=97=90=EC=84=9C=20=EC=B0=BE?= =?UTF-8?q?=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=EA=B3=A0=EC=B9=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/layout/layout.model.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/layout/layout.model.php b/modules/layout/layout.model.php index 94caa5463..f56adc992 100644 --- a/modules/layout/layout.model.php +++ b/modules/layout/layout.model.php @@ -93,10 +93,14 @@ class layoutModel extends layout { $thumbnailPath = sprintf('./themes/%s/layouts/%s/thumbnail.png' , $token[0], $token[1]); } - else + else if($layoutType == 'P') { $thumbnailPath = sprintf('./layouts/%s/thumbnail.png' , $val->layout); } + else if($layoutType == 'M') + { + $thumbnailPath = sprintf('./m.layouts/%s/thumbnail.png' , $val->layout); + } if(is_readable($thumbnailPath)) { $val->thumbnail = $thumbnailPath;