Project

General

Profile

Bug #25106 » 17673-dbal.diff

Administrator Admin, 2011-02-19 17:48

View differences:

typo3/sysext/dbal/class.ux_t3lib_db.php (working copy)
$this->SQLparser = t3lib_div::makeInstance('tx_dbal_sqlengine');
$this->Installer = t3lib_div::makeInstance('t3lib_install');
if (TYPO3_UseCachingFramework) {
tx_dbal_querycache::initializeCachingFramework();
tx_dbal_querycache::initializeCachingFramework();
try {
$this->queryCache = $GLOBALS['typo3CacheManager']->getCache(
'dbal'
);
} catch (t3lib_cache_exception_NoSuchCache $e) {
tx_dbal_querycache::initDbalCache();
try {
$this->queryCache = $GLOBALS['typo3CacheManager']->getCache(
'dbal'
);
} catch (t3lib_cache_exception_NoSuchCache $e) {
tx_dbal_querycache::initDbalCache();
$this->queryCache = $GLOBALS['typo3CacheManager']->getCache(
'dbal'
);
}
$this->queryCache = $GLOBALS['typo3CacheManager']->getCache(
'dbal'
);
}
// Set internal variables with configuration:
(2-2/4)