[TYPO3-dev] getHtmlTemplate should use resolveBackPath

Steffen Kamper info at sk-typo3.de
Tue Oct 7 22:55:51 CEST 2008


Hi,

Steffen Gebert schrieb:
  > This is caused by generating the following path to the template file:
> ../../../../typo3/../typo3conf/ext/tt_news/mod1/mod_ttneypo3conf/ext/tt_news/mod1/mod_ttnews_admin.html
> I can't open this path in a bash and so php's file_get_contents(), which is called by t3lib_div::getURL() can't, too.
> 

indeed this is a very bad path.
I would suggest to have a function which converts such path to an 
absolute path.

vg Steffen




More information about the TYPO3-dev mailing list