HCN, ISCS 함수 수정, 웹페이지 패치시 시간 간격 추가

This commit is contained in:
wonipapa
2017-09-06 14:36:32 +09:00
parent 89f9c4f839
commit 92eb54eafd
2 changed files with 66 additions and 54 deletions
+3 -2
View File
@@ -1514,6 +1514,7 @@ function epgzip($epginfo) {
writeProgram($programdata);
endforeach;
}
function writeProgram($programdata) {
$fp = $GLOBALS['fp'];
$ChannelId = $programdata['channelId'];
@@ -1616,6 +1617,7 @@ function writeProgram($programdata) {
endif;
fprintf($fp, " </programme>\n");
}
function getWeb($url, $params, $method) {
$ch = curl_init();
if($method == "GET"):
@@ -1644,8 +1646,7 @@ function printError($string) {
fwrite(STDERR, "Error : ".$string."\n");
}
function _microtime()
{
function _microtime() {
list($usec, $sec) = explode(" ", microtime());
return ($sec.(int)($usec*1000));
}