瀏覽代碼

Arreglando index v6

Okynos 9 年之前
父節點
當前提交
9533d815ff
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      index.php

+ 3 - 1
index.php

@@ -23,7 +23,9 @@
 
     <?php
       //require 'vendor/autoload.php';
-      $c = new \MongoClient( "mongodb://hadoop.ugr.es:14037" );
+
+      $c = new MongoDB\Driver\Manager( "mongodb://hadoop.ugr.es:14037" );
+      //$c = new \MongoClient( "mongodb://hadoop.ugr.es:14037" );
       //$c = (new MongoDB\Client("mongodb://hadoop.ugr.es:14037"));
       //$c->dbname->coll;
       //$db = (new MongoDB\Client)->test->elements