Bläddra i källkod

Arreglando index v4

Okynos 9 år sedan
förälder
incheckning
93a5c148a1
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      index.php

+ 2 - 2
index.php

@@ -23,8 +23,8 @@
 
     <?php
       require 'vendor/autoload.php';
-      //$c = new MongoClient( "mongodb://hadoop.ugr.es:14037" );
-      $c = (new MongoDB\Client("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
       $db = $c->test->elements;