Mercurial > epgrec.yaz
view setChannelInfo.php @ 174:3474a501f802
relaxing check for overlapped programs. patch from http://www.sky.sannet.ne.jp/kn_ishi/epgrec/epgrec_Reservation.class.html
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 16 Apr 2013 15:23:28 +0900 |
parents | 134fced37df5 |
children |
line wrap: on
line source
<?php include_once('config.php'); include_once( INSTALL_PATH . "/DBRecord.class.php" ); include_once( INSTALL_PATH . "/Settings.class.php" ); if( isset($_POST['sid']) && isset($_POST['channel_disc']) && isset($_POST['skip']) ) { try { $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_POST['channel_disc'] ); $crec->sid = trim($_POST['sid']); $crec->skip = (int)(trim($_POST['skip'])); } catch( Exception $e ) { exit("Error: チャンネル情報更新失敗" ); } } ?>