Mercurial > epgrec.yaz
diff storeProgram.inc.php @ 149:5b192e94f49d
fix: 予約済み定数を使ってしまったミスを修正。エラーレベルに警告を追加
author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Sat, 27 Mar 2010 16:04:54 +0900 |
parents | 2cb414518ccd |
children | b3095425e613 |
line wrap: on
line diff
--- a/storeProgram.inc.php Mon Mar 22 22:43:11 2010 +0900 +++ b/storeProgram.inc.php Sat Mar 27 16:04:54 2010 +0900 @@ -45,7 +45,7 @@ // XML parse $xml = @simplexml_load_file( $xmlfile ); if( $xml === false ) { - reclog( "getepg:: 罩e幻".$xmlfile."篏c罔≧(冗絽с馹障)" ); + reclog( "getepg:: 罩e幻".$xmlfile."篏c罔≧(冗絽с馹障)", EPGREC_WARN ); return; // XML茯水篏 } // channel遵 @@ -71,7 +71,7 @@ } } catch( Exception $e ) { - reclog( "getepg::DB・膓障c潟若吾莨若帥紊掩", E_ERROR ); + reclog( "getepg::DB・膓障c潟若吾莨若帥紊掩", EPGREC_ERROR ); } } // channel 腟篋 @@ -89,7 +89,7 @@ $channel_rec = new DBRecord(CHANNEL_TBL, "channel_disc", "$channel_disc" ); } catch( Exception $e ) { - reclog( "getepg::c潟潟若 $channel_disc 肴с", E_ERROR ); + reclog( "getepg::c潟潟若 $channel_disc 肴с", EPGREC_ERROR ); } if( $channel_rec == null ) continue; // 緇莎激 if( $channel_rec->skip == 1 ) continue; // 篆<c潟 @@ -126,8 +126,8 @@ $cat_rec = new DBRecord(CATEGORY_TBL, "category_disc" , $category_disc ); } catch( Exception $e ) { - reclog("getepg:: 眼若≪祉鴻紊掩罔≧", E_ERROR ); - reclog("getepg:: ".$e->getMessage()."" ,E_ERROR ); + reclog("getepg:: 眼若≪祉鴻紊掩罔≧", EPGREC_ERROR ); + reclog("getepg:: ".$e->getMessage()."" ,EPGREC_ERROR ); exit( $e->getMessage() ); } @@ -196,8 +196,8 @@ } } catch(Exception $e) { - reclog( "getepg:: 違若馹罔≧", E_ERROR ); - reclog( "getepg:: ".$e->getMessage()."" , E_ERROR); + reclog( "getepg:: 違若馹罔≧", EPGREC_ERROR ); + reclog( "getepg:: ".$e->getMessage()."" , EPGREC_ERROR); exit( $e->getMessage() ); } }