배열에 채널 정보가 없을 때 경고 문장 나오는 버그 수정
This commit is contained in:
parent
c944e2d487
commit
1308381c0a
@ -281,6 +281,8 @@ function getEPG() {
|
|||||||
$MyISP = $GLOBALS['MyISP'];
|
$MyISP = $GLOBALS['MyISP'];
|
||||||
$Channelfile = __DIR__."/Channel.json";
|
$Channelfile = __DIR__."/Channel.json";
|
||||||
$IconUrl = "";
|
$IconUrl = "";
|
||||||
|
$ChannelInfos = array();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$f = @file_get_contents($Channelfile);
|
$f = @file_get_contents($Channelfile);
|
||||||
if($f === False) :
|
if($f === False) :
|
||||||
|
@ -302,6 +302,8 @@ function getEPG() {
|
|||||||
$MyISP = $GLOBALS['MyISP'];
|
$MyISP = $GLOBALS['MyISP'];
|
||||||
$Channelfile = __DIR__."/Channel.json";
|
$Channelfile = __DIR__."/Channel.json";
|
||||||
$IconUrl = "";
|
$IconUrl = "";
|
||||||
|
$ChannelInfos = array();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$f = @file_get_contents($Channelfile);
|
$f = @file_get_contents($Channelfile);
|
||||||
if($f === False) :
|
if($f === False) :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user