Till Brehm
2014-02-16 fa9c29e3f808f565cad97f56ba8b576f0a9c35b4
Fixed: FS#3205 - add check in mongodb plugin if MongoClient class exists before using it
1 files modified
8 ■■■■ changed files
server/plugins-available/mongo_clientdb_plugin.inc.php 8 ●●●● patch | view | raw | blame | history
server/plugins-available/mongo_clientdb_plugin.inc.php
@@ -51,8 +51,12 @@
     */
    function onInstall() {
        global $conf;
        return (bool) $conf['services']['db'];
        if($conf['services']['db'] == true && class_exists('MongoClient')) {
            return true;
        } else {
            return false;
        }
    }