Merge pull request #12 from wonipapa/devel

배열에 채널 정보가 없을 때 경고 문장 나오는 버그 수정
This commit is contained in:
wonipapa 2017-05-19 17:35:15 +09:00 committed by GitHub
commit 2ed0f6c098
2 changed files with 4 additions and 0 deletions

View File

@ -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) :

View File

@ -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) :