comparison getepg.php @ 142:481e789605e3

mod: EPGの更新と同時に予約情報を更新するように変更、ログビューアの追加
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Sun, 21 Mar 2010 16:42:58 +0900
parents 3bed74eca373
children 4afd353b4507 784e3c82926e
comparison
equal deleted inserted replaced
136:6754b6aa50cf 142:481e789605e3
6 include_once( INSTALL_PATH . '/DBRecord.class.php' ); 6 include_once( INSTALL_PATH . '/DBRecord.class.php' );
7 include_once( INSTALL_PATH . '/Reservation.class.php' ); 7 include_once( INSTALL_PATH . '/Reservation.class.php' );
8 include_once( INSTALL_PATH . '/Keyword.class.php' ); 8 include_once( INSTALL_PATH . '/Keyword.class.php' );
9 include_once( INSTALL_PATH . '/Settings.class.php' ); 9 include_once( INSTALL_PATH . '/Settings.class.php' );
10 include_once( INSTALL_PATH . '/storeProgram.inc.php' ); 10 include_once( INSTALL_PATH . '/storeProgram.inc.php' );
11 include_once( INSTALL_PATH . '/recLog.inc.php' );
11 12
12 // 緇剛 13 // 緇剛
13 if( ! defined( "BS_EPG_CHANNEL" ) ) define( "BS_EPG_CHANNEL", "211" ); 14 if( ! defined( "BS_EPG_CHANNEL" ) ) define( "BS_EPG_CHANNEL", "211" );
14 if( ! defined( "CS1_EPG_CHANNEL" ) ) define( "CS1_EPG_CHANNEL", "CS8" ); 15 if( ! defined( "CS1_EPG_CHANNEL" ) ) define( "CS1_EPG_CHANNEL", "CS8" );
15 if( ! defined( "CS2_EPG_CHANNEL" ) ) define( "CS2_EPG_CHANNEL", "CS24" ); 16 if( ! defined( "CS2_EPG_CHANNEL" ) ) define( "CS2_EPG_CHANNEL", "CS24" );
28 } 29 }
29 30
30 // 筝純桁慎羞宴顄帥鴻 31 // 筝純桁慎羞宴顄帥鴻
31 $use_para = false; 32 $use_para = false;
32 $use_para = (function_exists( "pcntl_fork" ) && function_exists( "posix_setsid" ) && function_exists( "pcntl_signal" ) && function_exists("pcntl_setpriority")); 33 $use_para = (function_exists( "pcntl_fork" ) && function_exists( "posix_setsid" ) && function_exists( "pcntl_signal" ) && function_exists("pcntl_setpriority"));
33 34 if( ! $use_para ) {
35 reclog("getepg:: 筝絎茵茵PHP医с" );
36 }
37 else {
38 reclog("getepg:: 筝絎茵篏睡障" );
39 }
34 40
35 $settings = Settings::factory(); 41 $settings = Settings::factory();
36 42
37 $temp_xml_bs = $settings->temp_xml."_bs"; 43 $temp_xml_bs = $settings->temp_xml."_bs";
38 $temp_xml_cs1 = $settings->temp_xml."_cs1"; 44 $temp_xml_cs1 = $settings->temp_xml."_cs1";