mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix #2237 failure to recognize layout.blade.php
This commit is contained in:
parent
fd9c8bf458
commit
a102f20766
1 changed files with 0 additions and 15 deletions
|
|
@ -467,12 +467,6 @@ class ModuleObject extends BaseObject
|
|||
*/
|
||||
public function setTemplateFile($filename)
|
||||
{
|
||||
/*
|
||||
if(isset($filename) && substr_compare($filename, '.html', -5) !== 0)
|
||||
{
|
||||
$filename .= '.html';
|
||||
}
|
||||
*/
|
||||
$this->template_file = $filename;
|
||||
return $this;
|
||||
}
|
||||
|
|
@ -527,11 +521,6 @@ class ModuleObject extends BaseObject
|
|||
public function setEditedLayoutFile($filename)
|
||||
{
|
||||
if(!$filename) return $this;
|
||||
|
||||
if(substr_compare($filename, '.html', -5) !== 0)
|
||||
{
|
||||
$filename .= '.html';
|
||||
}
|
||||
$this->edited_layout_file = $filename;
|
||||
return $this;
|
||||
}
|
||||
|
|
@ -554,10 +543,6 @@ class ModuleObject extends BaseObject
|
|||
*/
|
||||
public function setLayoutFile($filename)
|
||||
{
|
||||
if($filename && substr_compare($filename, '.html', -5) !== 0)
|
||||
{
|
||||
$filename .= '.html';
|
||||
}
|
||||
$this->layout_file = $filename;
|
||||
return $this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue