summaryrefslogtreecommitdiff
path: root/login.php
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2013-12-30 02:08:15 +0000
committerChristian Pointner <equinox@ffgraz.net>2013-12-30 02:08:15 +0000
commit868d5d661987483ac10214216a2ceda5d0c1cd7a (patch)
tree98b43904dd6f76279c85b7fd633317f814f3f256 /login.php
parent3407c6aea9c93d1abf62fe2bec61cd4f2807f619 (diff)
reenables login
readded reaload control (basic version)
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";