Browse Source

añadiendo versión de prueba de mongodb legacy

Okynos 9 năm trước cách đây
mục cha
commit
cceabd1698
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      index.php

+ 1 - 3
index.php

@@ -22,9 +22,7 @@
     <ul>
 
     <?php
-      //require 'vendor/autoload.php';
-
-      $c = new MongoDB\Driver\Manager( "mongodb://hadoop.ugr.es:14037" );
+      $c = new MongoClient( "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;