Bug #23066 ยป 14959.t3lib_db.patch

Administrator Admin, 2010-07-01 15:29

View differences:

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