mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Don't add .html automatically to template name
This commit is contained in:
parent
e0331798d9
commit
4e8c184d0c
1 changed files with 2 additions and 0 deletions
|
|
@ -465,10 +465,12 @@ 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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue