Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gnu-fm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
16
Issues
16
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gnu.io
gnu-fm
Commits
19daa635
Commit
19daa635
authored
Dec 30, 2013
by
Mike Sheldon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give correct header for getmobilesession
parent
bd8fbf40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
index.php
nixtape/2.0/index.php
+2
-0
No files found.
nixtape/2.0/index.php
View file @
19daa635
...
...
@@ -822,6 +822,8 @@ function method_auth_getMobileSession() {
$json_data
=
array
(
'session'
=>
array
(
'name'
=>
$username
,
'key'
=>
$session
,
'subscriber'
=>
0
));
json_response
(
json_encode
(
$json_data
));
}
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
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment