summaryrefslogtreecommitdiff
path: root/login.php
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2013-12-30 13:18:58 +0100
committerChristian Pointner <equinox@spreadspace.org>2013-12-30 13:18:58 +0100
commit92b6585130b4d719d236da0e2cdce9649e538f8b (patch)
treef79d174c3be10cbf80eea6debca80042a1d8cdaa /login.php
parent4c98da1ceff06e565a8e85e395c747b28edef19d (diff)
parent70b378464945443b234380c5098ec7066bb0b15f (diff)
Merge branch 'master' into stable
Diffstat (limited to 'login.php')
-rw-r--r--login.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/login.php b/login.php
index 8a65bcb..4f9363a 100644
--- a/login.php
+++ b/login.php
@@ -1,4 +1,4 @@
-<?php
+<?php
session_start();
header("Content-Type: text/xml");
@@ -28,7 +28,7 @@ else if (isset($_POST['logout']))
$_SESSION['logged_in'] = false;
}
-if (isset($_SESSION['logged_in']) && $_SESSION['logged_in'])
+if (isset($_SESSION['logged_in']) && $_SESSION['logged_in'])
{
echo '<status code="'.'logged_in'.'" />'."\n";
echo '<username name="'.$_SESSION['username'].'" />'."\n";