Skip to content

Commit

Permalink
More tweaking of mongo driver
Browse files Browse the repository at this point in the history
  • Loading branch information
bxjx committed Feb 27, 2013
1 parent 16a1307 commit 9830f14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DGM/Database/MongoDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class MongoDB {

public function __construct($dbname, $connectionString)
{
$this->mongo = new \Mongo($connectionString);
$this->mongo = new \MongoClient($connectionString);
$this->mongoDb = $this->mongo->selectDb($dbname);
}

Expand Down
2 changes: 1 addition & 1 deletion web/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'gitHash' => `git rev-parse HEAD`,
'buildId' => substr(`git rev-parse HEAD`, 0, 16),
'categories' => Util::loadJSONFile(__DIR__ . '/../resources/categories.json'),
'db' => 'mongodb://heroku:[email protected]:10059',
'db' => 'mongodb://heroku:[email protected]:10059/app12425727',
'dbname' => 'app12425727',
'assetHost' => 'http://9d13444fc29e94942058-e7acde355f751313b3672e46489208df.r75.cf1.rackcdn.com'
];
Expand Down

0 comments on commit 9830f14

Please sign in to comment.