Issue Bug Closed

#20527getModuleTemplate is prepended with backPath always

Steffen Kamper 05/29/09, 10:00 updated 10/02/18, 12:25

Description

Problem:
when writing BE module extension you may have your template in your extension directory. For now the $filename is always prepended with backpath.

Solution:
use t3lib_div::getFileAbsFileName which allows using this syntax:
$this->doc->setModuleTemplate(‘EXT:myext/mod1/mod_template.html’);

(issue imported from #M11216)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.