Index: t3lib/config_default.php =================================================================== --- t3lib/config_default.php (revision 7619) +++ t3lib/config_default.php (working copy) @@ -68,6 +68,7 @@ 'recursiveDomainSearch' => FALSE, // Boolean. If set, the search for domain records will be done recursively by stripping parts of the host name off until a matching domain record is found. 'devIPmask' => '127.0.0.1,::1', // Defines a list of IP addresses which will allow development-output to display. The debug() function will use this as a filter. See the function t3lib_div::cmpIP() for details on syntax. Setting this to blank value will deny all. Setting to "*" will allow all. 'sqlDebug' => FALSE, // Boolean. If set, then database queries that fails are outputted in browser. For development. + 'sqlExplainOutput' => FALSE, // Boolean. If set, then database queries with results are explained in BE console. Be careful, it slows down the performance, use only for develop! 'enable_DLOG' => FALSE, // Whether the developer log is enabled. See constant "TYPO3_DLOG" 'ddmmyy' => 'd-m-y', // Format of Date-Month-Year - see PHP-function date() 'hhmm' => 'H:i', // Format of Hours-Minutes - see PHP-function date() Index: typo3/init.php =================================================================== --- typo3/init.php (revision 7619) +++ typo3/init.php (working copy) @@ -88,7 +88,7 @@ // ******************************* -// Fix BACK_PATH, if the TYPO3_mainDir is set to something else than +// Fix BACK_PATH, if the TYPO3_mainDir is set to something else than // typo3/, this is a workaround because the conf.php of the old modules // still have "typo3/" hardcoded. Can be removed once we don't have to worry about // legacy modules (with conf.php and $BACK_PATH) anymore. See RFC / Bug #13262 for more details. @@ -213,6 +213,7 @@ /** @var TYPO3_DB t3lib_db */ $TYPO3_DB = t3lib_div::makeInstance('t3lib_DB'); $TYPO3_DB->debugOutput = $TYPO3_CONF_VARS['SYS']['sqlDebug']; +$TYPO3_DB->explainOutput = $TYPO3_CONF_VARS['SYS']['sqlExplainOutput']; $CLIENT = t3lib_div::clientInfo(); // $CLIENT includes information about the browser/user-agent $PARSETIME_START = t3lib_div::milliseconds(); // Is set to the system time in milliseconds. This could be used to output script parsetime in the end of the script