OSDN Git Service

mod: EPGの更新と同時に予約情報を更新するように変更、ログビューアの追加
[epgrec/epgrec.git] / getepg.php
index a1a04b8..34172fe 100755 (executable)
@@ -8,6 +8,7 @@
   include_once( INSTALL_PATH . '/Keyword.class.php' );
   include_once( INSTALL_PATH . '/Settings.class.php' );
   include_once( INSTALL_PATH . '/storeProgram.inc.php' );
+  include_once( INSTALL_PATH . '/recLog.inc.php' );
   
   // 後方互換性
   if( ! defined( "BS_EPG_CHANNEL" )  ) define( "BS_EPG_CHANNEL",  "211"  );
   // 並列化が可能か執念深く調べる
   $use_para = false;
   $use_para = (function_exists( "pcntl_fork" ) && function_exists( "posix_setsid" ) && function_exists( "pcntl_signal" ) && function_exists("pcntl_setpriority"));
-  
+  if( ! $use_para ) {
+       reclog("getepg:: 並列実行が行えないPHP環境です" );
+  }
+  else {
+       reclog("getepg:: 並列実行を使用します" );
+  }
   
   $settings = Settings::factory();