17 lines
415 B
PHP
17 lines
415 B
PHP
<?php define('__BUILD__', dirname(dirname(__FILE__)) );
|
|
|
|
// On definit les constantes inexistantes dans PHPUnit
|
|
$_SERVER['HTTP_HOST'] = 'socioview';
|
|
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
|
|
$_SERVER['HTTP_USER_AGENT'] = 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0';
|
|
|
|
|
|
$_SESSION = [];
|
|
$_SESSION['permission'] = array('phpunit');
|
|
|
|
require_once __ROOT__.'/autoloader.php';
|
|
|
|
|
|
|
|
?>
|