Project

General

Profile

Bug #20794 » 0011599_v2.diff

Administrator Admin, 2009-08-01 12:21

View differences:

t3lib/class.t3lib_db.php
@ini_set('track_errors', 1);
@ini_set('html_errors', 0);
if (!extension_loaded('mysql')) {
t3lib_BEfunc::typo3PrintError('Database Error', 'You don\'t seem to have MySQL-support for PHP installed!');
exit;
}
// Check for client compression
$isLocalhost = ($TYPO3_db_host == 'localhost' || $TYPO3_db_host == '127.0.0.1');
if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['no_pconnect']) {
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_db.php']);
}
?>
?>
(2-2/2)