chdir() in phpunit bootstrap
This commit is contained in:
parent
49a6083b8b
commit
9f10f923fe
1 changed files with 1 additions and 0 deletions
|
@ -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"))) {
|
||||
|
|
Reference in a new issue