mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
페이지 편집 페이지에서 '모듈 설정 화면' 설정과는 상관없이 무조건 사용자 레이아웃 적용
레이아웃마다 너비가 모두 다르므로 관리자 레이아웃 적용시 정확도가 엄청 떨어짐
This commit is contained in:
parent
65a96a0344
commit
9e59a6d839
2 changed files with 8 additions and 6 deletions
|
|
@ -456,9 +456,7 @@ class ModuleObject extends BaseObject
|
|||
* */
|
||||
function setLayoutFile($filename)
|
||||
{
|
||||
if(!$filename) return;
|
||||
|
||||
if(substr_compare($filename, '.html', -5) !== 0)
|
||||
if($filename && substr_compare($filename, '.html', -5) !== 0)
|
||||
{
|
||||
$filename .= '.html';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue