summaryrefslogtreecommitdiff
path: root/src/SemanticScuttle
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-04-18 19:16:18 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-04-18 19:16:18 +0200
commitf3fdb6ca14691c91201a4febfe43982f81bd7ce4 (patch)
tree1a630f3c3db0acf8a01541da8f5dca836377fe71 /src/SemanticScuttle
parentb937d6ee42f3d5c0bab83f7cdefd7319837eb2fa (diff)
downloadsemanticscuttle-f3fdb6ca14691c91201a4febfe43982f81bd7ce4.tar.gz
semanticscuttle-f3fdb6ca14691c91201a4febfe43982f81bd7ce4.tar.bz2
start the session when we are in http unittest mode
Diffstat (limited to 'src/SemanticScuttle')
-rw-r--r--src/SemanticScuttle/header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SemanticScuttle/header.php b/src/SemanticScuttle/header.php
index 5d1ec80..8668bbb 100644
--- a/src/SemanticScuttle/header.php
+++ b/src/SemanticScuttle/header.php
@@ -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'])) {