This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
This task was never closed in our old bug tracker.
Feel free to open a new task at Github if you feel this is still relevant.
FS#2372 DOKU_TPLINC constant is ignored
The DOKU_TPLINC constant, defined in inc/init.php (or in non-standard installations maybe before, this case is the problem) will be ignored in the template() method in inc/template.php.
So if I would bootstrap DokuWiki in a other way than the standard process, I may define DOKU_TPLINC before init.php is called to have my template folder outside the DokuWiki folder structure, DokuWiki will check the wrong directory (always DOKU_INC.'lib/tpl/'.$conf['template']) for the template file.
Just for the record: In the latest version it would be tpl_incdir() and not DOKU_TPLINC, but the problem stays the same.
This is a requirement for implementing FS#2373. And not useful at its own.
However, that bug is closed with a 'Won't implemented'.
Therefore I will close this issue as well.