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;