dever 6 năm trước cách đây
mục cha
commit
db6279a09a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      live/lib/Cron.php

+ 1 - 1
live/lib/Cron.php

@@ -39,7 +39,7 @@ class Cron
         if ($data) {
             $time = time();
             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']]);
                     $config = Dever::db('live/info')->one($info['live_id']);
                     $handle = new Handle();