The order of these includes matter.

This commit is contained in:
jgen 2014-02-18 19:37:07 -05:00
parent 4936432d83
commit 6c8d519859

View file

@ -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();