We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit cb8119b3 authored by elleo's avatar elleo

Give correct header for getmobilesession

parent 24136352
......@@ -822,6 +822,8 @@ function method_auth_getMobileSession() {
$json_data = array('session' => array('name' => $username, 'key' => $session, 'subscriber' => 0));
} else {
header('Content-Type: text/xml');
print("<?xml version=\"1.0\"?>\n");
print("<lfm status=\"ok\">\n");
print(" <session>\n");
print(" <name>{$username}</name>\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment