[TYPO3-core] error logging for DB init

Martin Kutschker Martin.Kutschker at blackbox.net
Fri Jan 27 16:58:09 CET 2006


Hi!

I've added logging to the new DB init code.

if (mysql_query($v, $this->link) === FALSE) {
t3lib_div::sysLog('Could not initialize DB connection with query "'.$v.'".','Core',3);
}

This is only a commit note as I think it's trivial and consistent with the other connect/db-select code.

Masi




More information about the TYPO3-team-core mailing list