From c75c9924314b98d734c804cdfd06d0dde227a5d6 Mon Sep 17 00:00:00 2001 From: Aleksei Miheev Date: Wed, 9 Apr 2014 06:55:44 +0000 Subject: [PATCH] Mongo() is deprecated now, use MongoClient --- forum/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/index.php b/forum/index.php index 1988d1f..7fd0469 100644 --- a/forum/index.php +++ b/forum/index.php @@ -73,7 +73,7 @@ else if (!$db_connection || !@mysql_select_db($db_name, $db_connection)) db_fatal_error(); -$mongodb = new Mongo(); +$mongodb = new MongoClient(); // mysql_query("SET NAMES 'utf8'");