Instantiate plugins AFTER connecting to the db.
authorJehan-Guillaume (ioguix) de Rorthais <ioguix@free.fr>
Fri, 5 Apr 2013 10:48:44 +0000 (12:48 +0200)
committerJehan-Guillaume (ioguix) de Rorthais <ioguix@free.fr>
Fri, 5 Apr 2013 10:48:44 +0000 (12:48 +0200)
commit7d89d7cca40b5a8c3ac1874436630993f518410c
tree91fb4ed815eb3c409f400b8c6226b847f7fb4b57
parent5b5d4ab4ec12bc65f54e85a660f18361162a454c
Instantiate plugins AFTER connecting to the db.

This allows plugins to use the connection from their constructor if the
script created it, dpeending on $_no_db_connection global variable.
This revert commit b43084e022695d6b506799a1815fb4735bd57d13. I did a few
tests, mainly on intro page, but couldn't find the bug this commit tried
to fix...
libraries/lib.inc.php