Project

General

Profile

Bug #23066 ยป 14959.t3lib_db.patch

Administrator Admin, 2010-07-01 15:29

View differences:

t3lib/class.t3lib_db.php (working copy)
} else {
if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['dbClientCompress'] && !$isLocalhost) {
// See comment about 4th parameter in block above
$this->link = @mysql_pconnect($TYPO3_db_host, $TYPO3_db_username, $TYPO3_db_password, false, MYSQL_CLIENT_COMPRESS);
$this->link = @mysql_pconnect($TYPO3_db_host, $TYPO3_db_username, $TYPO3_db_password, MYSQL_CLIENT_COMPRESS);
} else {
$this->link = @mysql_pconnect($TYPO3_db_host, $TYPO3_db_username, $TYPO3_db_password);
}
    (1-1/1)