[BUGFIX] Respect config.debug setting for displaying parsetime 09/28909/3
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 27 Mar 2014 12:20:11 +0000 (13:20 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 30 Mar 2014 15:45:33 +0000 (17:45 +0200)
commitcdf723e23e755aa2fb7f778e4cb2878bc1aa495f
tree355622c706dff5aa4fa3c67ae7ef1cf76fdec5af
parent45a91e62a1308a2c6b239b03f3deafd822781f90
[BUGFIX] Respect config.debug setting for displaying parsetime

2 possible information snippets can be outputted using
config.debug = 1 in TypoScript or [FE][debug]=1 in Install Tool.

- Parsetime
- Cached page generated time + expire date

TypoScript should override the general setting of the Install Tool
to make it possible to turn debugging of for specific PAGE objects.

This is especially needed if using e.g JSON output is invalid
having this information.

The change uses the same check as in index_ts where it works perfectly
fine.

Change-Id: I1520896476d97286627ab7f3b232b733dd3c50f7
Resolves: #57365
Releases: 6.2
Reviewed-on: https://review.typo3.org/28909
Reviewed-by: Helmut Hummel
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php