chdir() in phpunit bootstrap

This commit is contained in:
Shish 2015-09-12 14:49:53 +01:00
parent 49a6083b8b
commit 9f10f923fe

View file

@ -7,6 +7,7 @@ define("CLI_LOG_LEVEL", 50);
$_SERVER['QUERY_STRING'] = '/';
chdir(dirname(dirname(__FILE__)));
require_once "core/_bootstrap.inc.php";
if(is_null(User::by_name("demo"))) {