소스 검색

Arreglando index v4

Okynos 9 년 전
부모
커밋
93a5c148a1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;