Procházet zdrojové kódy

añadiendo versión de prueba de mongodb legacy

Okynos před 9 roky
rodič
revize
cceabd1698
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  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;