colinmollenhour/mongodb-php-odm — pull request #49 by semalead (2013-07-27 09:38:58+00:00)
Title: Fallback to old Mongo() class if MongoClient() is not found

This is related to https://github.com/colinmollenhour/mongodb-php-odm/pull/44.
On dev machines it's easy to get the last MongoDB PHP driver but on production servers, this PHP driver is not necessary at the last version.
This small fix allows to use either MongoClient() or Mongo() as a fallback.