start the session when we are in http unittest mode
This commit is contained in:
parent
b937d6ee42
commit
f3fdb6ca14
@ -104,7 +104,7 @@ T_bind_textdomain_codeset($domain, 'UTF-8');
|
||||
T_textdomain($domain);
|
||||
|
||||
// 4 // Session
|
||||
if (!defined('UNIT_TEST_MODE')) {
|
||||
if (!defined('UNIT_TEST_MODE') || defined('HTTP_UNIT_TEST_MODE')) {
|
||||
session_start();
|
||||
if ($GLOBALS['enableVoting']) {
|
||||
if (isset($_SESSION['lastUrl'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user