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