Project

General

Profile

Bug #23571 ยป class.ux_t3lib_db.php.diff

Administrator Admin, 2010-09-20 13:44

View differences:

class.ux_t3lib_db.php (working copy)
if (mysql_select_db($cfgArray['config']['database'], $link)) {
$output = TRUE;
}
$setDBinit = t3lib_div::trimExplode(chr(10), $GLOBALS['TYPO3_CONF_VARS']['SYS']['setDBinit'], 1);
$setDBinit = t3lib_div::trimExplode(LF, str_replace("' . LF . '", LF, $GLOBALS['TYPO3_CONF_VARS']['SYS']['setDBinit']), TRUE);
foreach ($setDBinit as $v) {
if (mysql_query($v, $link) === FALSE) {
t3lib_div::sysLog('Could not initialize DB connection with query "'.$v.'".','Core',3);
    (1-1/1)