summaryrefslogtreecommitdiff
path: root/login.php
diff options
context:
space:
mode:
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";