chdir() in phpunit bootstrap
This commit is contained in:
parent
49a6083b8b
commit
9f10f923fe
@ -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"))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user