summaryrefslogtreecommitdiff
path: root/includes/inc_session.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/inc_session.php')
-rwxr-xr-xincludes/inc_session.php7
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);
+}
+
?>