j4mie/idiorm — pull request #159 by falmp (2013-10-02 14:20:20+00:00)
Title: Changed database array access to ensure it's always properly setup

This solves my cached entries problem mentioned on issue #137 and probably also its authors problem. I was able to run the phpunit tests under PHP 5.5 with this fix too (it would throw initialization errors and not run with the master branch).

Details:
- Changed $_db access to ensure it's always properly setup
- Changed configure() to directly set $_config
- Fixed typo on comment ('mulitple' -> 'multiple')