diff options
author | Christian Pointner <equinox@spreadspace.org> | 2013-12-30 13:18:58 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2013-12-30 13:18:58 +0100 |
commit | 92b6585130b4d719d236da0e2cdce9649e538f8b (patch) | |
tree | f79d174c3be10cbf80eea6debca80042a1d8cdaa /login.php | |
parent | 4c98da1ceff06e565a8e85e395c747b28edef19d (diff) | |
parent | 70b378464945443b234380c5098ec7066bb0b15f (diff) |
Merge branch 'master' into stable
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"; |