Mercurial > epgrec.yaz
changeset 89:663521c2bf06
delete trailing whitespace
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 02 Mar 2010 23:00:04 +0900 |
parents | 3941ee5b3e63 |
children | 057ca53de6ca |
files | getepg.php |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/getepg.php Tue Mar 02 22:29:08 2010 +0900 +++ b/getepg.php Tue Mar 02 23:00:04 2010 +0900 @@ -5,35 +5,35 @@ include_once( INSTALL_PATH . '/Reservation.class.php' ); include_once( INSTALL_PATH . '/Keyword.class.php' ); include_once( INSTALL_PATH . '/Settings.class.php' ); - + // 後方互換性 if( ! defined( "BS_EPG_CHANNEL" ) ) define( "BS_EPG_CHANNEL", "211" ); if( ! defined( "CS1_EPG_CHANNEL" ) ) define( "CS1_EPG_CHANNEL", "CS8" ); if( ! defined( "CS2_EPG_CHANNEL" ) ) define( "CS2_EPG_CHANNEL", "CS24" ); - - + + function check_file( $file ) { // ファイルがないなら無問題 if( ! file_exists( $file ) ) return true; - + // 1時間以上前のファイルなら削除してやり直す if( (time() - filemtime( $file )) > 3600 ) { @unlink( $file ); return true; } - + return false; } - + $settings = Settings::factory(); - + $temp_xml_bs = $settings->temp_xml."_bs"; $temp_xml_cs1 = $settings->temp_xml."_cs1"; $temp_xml_cs2 = $settings->temp_xml."_cs2"; $temp_xml_gr = $settings->temp_xml."_gr"; - + if( file_exists( $settings->temp_data ) ) @unlink( $settings->temp_data ); - + // BSを処理する if( $settings->bs_tuners != 0 ) { // 録画重複チェック @@ -91,5 +91,5 @@ } } } - + ?>