The order of these includes matter.
This commit is contained in:
parent
4936432d83
commit
6c8d519859
1 changed files with 3 additions and 2 deletions
|
@ -12,8 +12,6 @@ require_once('lib/simpletest/autorun.php');
|
|||
require_once('lib/simpletest/unit_tester.php');
|
||||
require_once('lib/simpletest/web_tester.php');
|
||||
require_once('lib/simpletest/reporter.php');
|
||||
require_once("core/sys_config.inc.php");
|
||||
require_once("core/util.inc.php");
|
||||
require_once('tests/test_install.php');
|
||||
|
||||
$options = getopt("d:");
|
||||
|
@ -31,6 +29,9 @@ $test_suite->add(new ShimmieInstallerTest());
|
|||
// From index.php
|
||||
//
|
||||
|
||||
require_once("core/sys_config.inc.php");
|
||||
require_once("core/util.inc.php");
|
||||
|
||||
// set up and purify the environment
|
||||
_version_check();
|
||||
_sanitise_environment();
|
||||
|
|
Reference in a new issue