Mongo is now depreciated!

Not sure if this will apply to your version of Mongo. But for myself and I'm sure for anyone who is starting to use Mongo from now. The use of Mongo won't work when trying to create a connection.

If you try to use Mongo you will get the following error.

A PHP Error was encountered
Severity: 8192
Message: Mongo_db::connect(): The Mongo class is deprecated, please use the MongoClient class
Filename: libraries/Mongo_db.php
Line Number: 1407

So changing "new Mongo" to "new MongoClient" fixes this issue.

Woody