summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlav Morken <olav.morken@uninett.no>2009-08-03 12:44:02 +0000
committerOlav Morken <olav.morken@uninett.no>2009-08-03 12:44:02 +0000
commit62114cd6688fb011f738c3541c76766e0de9d580 (patch)
tree39ddef4181653ab3bcb525a8f8edb74eadd42819
parent0fbba118f0da25379e016149506c97ae9a3872d8 (diff)
downloadsimplesamlphp-62114cd6688fb011f738c3541c76766e0de9d580.zip
simplesamlphp-62114cd6688fb011f738c3541c76766e0de9d580.tar.gz
simplesamlphp-62114cd6688fb011f738c3541c76766e0de9d580.tar.bz2
_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
-rw-r--r--www/_include.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/_include.php b/www/_include.php
index 2701203..fe7f58f 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