There is a variable name mistake in the file
/lib/classes/module_support/modtemplates.inc.php line 78
I think instead of
Code: Select all
$ok = (strpos($tpl_name, '..') === false);
Code: Select all
$ok = (strpos($template_name, '..') === false);
Notice: Undefined variable: tpl_name in C:\EasyPHP\www\mps-cmsms\lib\classes\module_support\modtemplates.inc.php on line 78
when I call
Code: Select all
$this->GetTemplateFromFile('templatename');