Skip to content

Instantly share code, notes, and snippets.

@quard8
Created July 8, 2012 19:06
Show Gist options
  • Select an option

  • Save quard8/3072354 to your computer and use it in GitHub Desktop.

Select an option

Save quard8/3072354 to your computer and use it in GitHub Desktop.
$connections = array(
'hosts' => array(
array(
'host' => 'host',
),
array(
'host' => 'host',
'port' => 27018,
),
),
'database' => 'test',
'replicaSet' => true
);
Shanty_Mongo::addConnections($connections);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment