diff options
author | Christian Pointner <equinox@ffgraz.net> | 2013-12-30 02:08:15 +0000 |
---|---|---|
committer | Christian Pointner <equinox@ffgraz.net> | 2013-12-30 02:08:15 +0000 |
commit | 868d5d661987483ac10214216a2ceda5d0c1cd7a (patch) | |
tree | 98b43904dd6f76279c85b7fd633317f814f3f256 /login.php | |
parent | 3407c6aea9c93d1abf62fe2bec61cd4f2807f619 (diff) |
reenables login
readded reaload control (basic version)
Diffstat (limited to 'login.php')
-rw-r--r-- | login.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"; |