forked from mongodb/mongo-php-driver-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcfg.inc.template
25 lines (19 loc) · 885 Bytes
/
cfg.inc.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
# Enable to debug test-suite meltdown
# Should not be enabled unless you know what you are doing
if (!defined("DEBUG")) {
define("DEBUG", false);
}
# Path to your mongo shell. The shell is used to launch mongod If you have
# multiple MongoDBs versions installed, you can change between the version used
# by using the shell belonging to the version you want to test against
$mongo = trim(shell_exec("which mongo"));
$SHELL = $mongo;
$DBDIR = "/data/db/";
/* You probably don't want to change this */
$SUPER_USER = (object)array("username" => "root", "password" => "complicated password");
$NORMAL_USER = (object)array("username" => "user", "password" => "this isn't it, is it?");
$JSFILE = dirname(__FILE__) . "/myconfig.js";
$SHELL_PARAMS = "--nodb --norc --shell $JSFILE";
$MARKER = "COMMAND DONE";
$QUIT = "Sorry Matt Damon, we're out of time";