mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +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)
|
public function setTemplateFile($filename)
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
if(isset($filename) && substr_compare($filename, '.html', -5) !== 0)
|
|
||||||
{
|
|
||||||
$filename .= '.html';
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
$this->template_file = $filename;
|
$this->template_file = $filename;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
@ -527,11 +521,6 @@ class ModuleObject extends BaseObject
|
||||||
public function setEditedLayoutFile($filename)
|
public function setEditedLayoutFile($filename)
|
||||||
{
|
{
|
||||||
if(!$filename) return $this;
|
if(!$filename) return $this;
|
||||||
|
|
||||||
if(substr_compare($filename, '.html', -5) !== 0)
|
|
||||||
{
|
|
||||||
$filename .= '.html';
|
|
||||||
}
|
|
||||||
$this->edited_layout_file = $filename;
|
$this->edited_layout_file = $filename;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
@ -554,10 +543,6 @@ class ModuleObject extends BaseObject
|
||||||
*/
|
*/
|
||||||
public function setLayoutFile($filename)
|
public function setLayoutFile($filename)
|
||||||
{
|
{
|
||||||
if($filename && substr_compare($filename, '.html', -5) !== 0)
|
|
||||||
{
|
|
||||||
$filename .= '.html';
|
|
||||||
}
|
|
||||||
$this->layout_file = $filename;
|
$this->layout_file = $filename;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue