[TASK] TemplateService: Add verbose option 06/32706/2
authorBenjamin Mack <benni@typo3.org>
Wed, 10 Sep 2014 13:56:36 +0000 (15:56 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 13 Sep 2014 19:53:07 +0000 (21:53 +0200)
commit4dc1e804d90c8c12253c6afb08b1d25d75288f4f
treed635506e417b340bff938e517489993e75540dae
parenteab5ca4216d5ae9d7e58d4bea4face558627eab8
[TASK] TemplateService: Add verbose option

The TemplateService class contains the functionality
to parse the TypoScript constants that haven't
been replaced yet.

This is done each time in the frontend, although
it is only useful when $this->tt_track is active,
thus when a BE user is logged in, who can read the info.

The improvement in this patch is to skip the strstr()
check if not set, thus making first-hit page calls a bit
quicker and the code more readable.

Releases: 6.3
Resolves: #61512
Change-Id: I8ebdb5e4bdc643e24dc9328ef48ed91a67376636
Reviewed-on: http://review.typo3.org/32706
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/TypoScript/TemplateService.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php