diff getepg.old.php @ 111:3bed74eca373

change: EPG取得並列化が可能かどうかを判定するように変更
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Sat, 13 Mar 2010 16:45:29 +0900
parents d9b9d1d903a1
children 2646140c5ba7
line wrap: on
line diff
--- a/getepg.old.php	Mon Mar 08 19:17:56 2010 +0900
+++ b/getepg.old.php	Sat Mar 13 16:45:29 2010 +0900
@@ -1,6 +1,8 @@
 #!/usr/bin/php
 <?php
-  include_once('config.php');
+  $script_path = dirname( __FILE__ );
+  chdir( $script_path );
+  include_once( $script_path . '/config.php');
   include_once( INSTALL_PATH . '/DBRecord.class.php' );
   include_once( INSTALL_PATH . '/Reservation.class.php' );
   include_once( INSTALL_PATH . '/Keyword.class.php' );