diff options
author | TheTroll <trolldev@gmail.com> | 2010-02-27 02:12:43 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-02-27 02:12:43 +0100 |
commit | 32b78254c76ebd9a07ad19edf25f1f0846a33bb8 (patch) | |
tree | d517c7bef969a6498d40fb64106c41363cfc36f7 /includes/inc_session.php | |
parent | 0c9414a9fecf2278d468acb1cf184e776b5a15c7 (diff) | |
download | istreamdev-32b78254c76ebd9a07ad19edf25f1f0846a33bb8.tar.gz istreamdev-32b78254c76ebd9a07ad19edf25f1f0846a33bb8.tar.bz2 |
Sessions WIP
Diffstat (limited to 'includes/inc_session.php')
-rwxr-xr-x | includes/inc_session.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/inc_session.php b/includes/inc_session.php index c74d780..5c06c0c 100755 --- a/includes/inc_session.php +++ b/includes/inc_session.php @@ -26,11 +26,14 @@ function sessioncreate($type, $name, $title, $desc, $qname, $qparams, $category, } $cmd = str_replace('%', '%%', $cmd); - exec($cmd); + exec ($cmd); // Write streaminfo writeinfostream($session, $type, $name, $title, $desc, $qname, $category, $url, $mediapath, $subdir); + // Copy status waiter + exec('cp streamstatus.php ram/' .$session); + return $session; } @@ -54,4 +57,6 @@ function sessiondelete($session) $cmd= $subcmd ."rm -rf " .$ram; exec ($cmd); +} + ?> |