File: cfg.inc.template

package info (click to toggle)
php-mongo 1.4.5-1~bpo70%2B1
  • links: PTS
  • area: main
  • in suites: wheezy-backports
  • size: 9,828 kB
  • sloc: ansic: 13,275; xml: 1,702; php: 1,625; pascal: 255; makefile: 106; sh: 27
file content (25 lines) | stat: -rw-r--r-- 885 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?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";