dever 6 gadi atpakaļ
vecāks
revīzija
db6279a09a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      live/lib/Cron.php

+ 1 - 1
live/lib/Cron.php

@@ -39,7 +39,7 @@ class Cron
         if ($data) {
         if ($data) {
             $time = time();
             $time = time();
             foreach ($data as $k => $v) {
             foreach ($data as $k => $v) {
-                if ($v[$video['stream_id']] > 0 && !$v[$video['url_m3u8']] && $v[$video['sdate']] > 0 && $v[$video['edate']] > 0 && $time >= $v[$video['edate']]) {
+                if ($v[$video['stream_id']] > 0 && $v[$video['sdate']] > 0 && $v[$video['edate']] > 0 && $time >= $v[$video['edate']]) {
                     $info = Dever::db('live/stream')->one($v[$video['stream_id']]);
                     $info = Dever::db('live/stream')->one($v[$video['stream_id']]);
                     $config = Dever::db('live/info')->one($info['live_id']);
                     $config = Dever::db('live/info')->one($info['live_id']);
                     $handle = new Handle();
                     $handle = new Handle();