[BUGFIX] Regression of "better condition in versionOL of t3lib_tstemplate"
authorAndy Grunwald <andygrunwald@gmail.com>
Wed, 9 May 2012 08:45:56 +0000 (10:45 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Sun, 20 May 2012 12:49:11 +0000 (14:49 +0200)
commit1125e3dd0de9ac6d626a05ced701904b2b56a97e
tree14c882615fb87d109c942b467e8ac64039c99591
parent6bb0f8d44327890e3355abd12cca2a4456df7278
[BUGFIX] Regression of "better condition in versionOL of t3lib_tstemplate"

versionOL in t3lib_tstemplate can cause a fatal error for
scripts like eID that run in frontend mode, but without a full
blown frontend environment.

The patch replaces the frontend check with a more specific test
for the required methods.

Change-Id: If7712903b96922ea3da51218d3ed5ff2496168f8
Related: #31139, #25144
Resolves: #36981
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/11097
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
t3lib/class.t3lib_tstemplate.php
tests/t3lib/t3lib_tstemplateTest.php [new file with mode: 0644]