summaryrefslogtreecommitdiff
path: root/includes/inc_session.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/inc_session.php')
-rwxr-xr-xincludes/inc_session.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/inc_session.php b/includes/inc_session.php
index 95d01cb..6630107 100755
--- a/includes/inc_session.php
+++ b/includes/inc_session.php
@@ -55,13 +55,12 @@ function sessiondelete($session)
$subcmd = "";
// Get segmenter PID if any
- if (file_exists($ram ."streamsegmenterpid"))
+ if (file_exists($ram ."segmenter.pid"))
{
- $pidfile = fopen($ram ."streamsegmenterpid", 'r');
+ $pidfile = fopen($ram ."segmenter.pid", 'r');
if ($pidfile)
{
$pid = fgets($pidfile);
- $pid = substr($pid, 0, -1);
$subcmd = "kill " .$pid ." ; ";
fclose($pidfile);
}