diff recomplete.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 f8f6e0d3acaf
children 481e789605e3
line wrap: on
line diff
--- a/recomplete.php	Mon Mar 08 19:17:56 2010 +0900
+++ b/recomplete.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 . "/Settings.class.php" );