cfg.inc 1021 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. #
  3. # This file was shamelessly copied over from mongofill. All credits belong to them:
  4. # https://github.com/mongofill/mongofill
  5. #
  6. # Enable to debug test-suite meltdown
  7. # Should not be enabled unless you know what you are doing
  8. if (!defined("DEBUG")) {
  9. define("DEBUG", false);
  10. }
  11. # Path to your mongo shell. The shell is used to launch mongod If you have
  12. # multiple MongoDBs versions installed, you can change between the version used
  13. # by using the shell belonging to the version you want to test against
  14. $mongo = trim(shell_exec("which mongo"));
  15. $SHELL = $mongo;
  16. $DBDIR = "/tmp/data/db/";
  17. /* You probably don't want to change this */
  18. $SUPER_USER = (object)array("username" => "root", "password" => "complicated password");
  19. $NORMAL_USER = (object)array("username" => "user", "password" => "this isn't it, is it?");
  20. $JSFILE = dirname(__FILE__) . "/myconfig.js";
  21. $SHELL_PARAMS = "--nodb --norc --shell $JSFILE";
  22. $MARKER = "COMMAND DONE";
  23. $QUIT = "Sorry Matt Damon, we're out of time";