diff options
Diffstat (limited to 'includes/inc_session.php')
-rwxr-xr-x | includes/inc_session.php | 5 |
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); } |