From 62114cd6688fb011f738c3541c76766e0de9d580 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Mon, 3 Aug 2009 12:44:02 +0000
Subject: [PATCH] _include.php: Make sure that the session is initialized
 before any output.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1596 44740490-163a-0410-bde0-09ae8108e29a
---
 www/_include.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/_include.php b/www/_include.php
index 270120301..fe7f58f12 100644
--- a/www/_include.php
+++ b/www/_include.php
@@ -95,6 +95,7 @@ if (!file_exists($configdir . '/config.php')) {
 
 SimpleSAML_Configuration::setConfigDir($configdir);
 
-
+/* Make sure that the session is initialized before any output. */
+SimpleSAML_Session::getInstance();
 
 ?>
\ No newline at end of file
-- 
GitLab