diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-17 16:41:07 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-17 16:41:07 +0100 |
commit | 8b78f1ac29e4d29a574725f1a927148526374745 (patch) | |
tree | 51de8c72cde86fc570a9de1f0f0d02e34e0a640e /bin | |
parent | 1012e0af0746ed8aee4fe4a372020758ea87ffdf (diff) | |
download | istreamdev-8b78f1ac29e4d29a574725f1a927148526374745.tar.gz istreamdev-8b78f1ac29e4d29a574725f1a927148526374745.tar.bz2 |
Support stop all sessions
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/jsonapi.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/jsonapi.php b/bin/jsonapi.php index ffcc9e6..dcc3dd4 100755 --- a/bin/jsonapi.php +++ b/bin/jsonapi.php @@ -77,7 +77,10 @@ function stopBroadcast($session) { $ret = array(); - $ret = sessiondelete("session" .$session); + if ($session == "all") + $ret = sessiondelete($session); + else + $ret = sessiondelete("session" .$session); return json_encode($ret); } |