File: cfg.inc.template

package info (click to toggle)
php-mongo 1.5.7-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,040 kB
  • ctags: 2,802
  • sloc: ansic: 17,632; xml: 2,195; php: 1,630; pascal: 330; makefile: 52; sh: 39
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";