Don't add .html automatically to template name

This commit is contained in:
Kijin Sung 2023-10-15 02:45:58 +09:00
parent e0331798d9
commit 4e8c184d0c

View file

@ -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;
}