[TYPO3-core] RFC: #14628: Open t3lib_db for own instance
Steffen Kamper
info at sk-typo3.de
Sat Jun 5 18:48:56 CEST 2010
Hi,
this is a SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=14628
Branches: Trunk
The only function isn't defined general is connectDB() as it only use
constants for conection params.
It is possible to call sql_pconnect() direct, but clean solution would
be to call connectDB($host, $user, $password)
So this isn't a new feature but a consistent change.
This allows to make own instances in extension when connection to
another DB is needed, so you can use the API as usual, and also DBAL
support.
vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14628.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100605/a348a2b2/attachment.asc>
More information about the TYPO3-team-core
mailing list