diff upgrade_db.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 ee67bb78da2d
children 9c5e597ef6c6
line wrap: on
line diff
--- a/upgrade_db.php	Mon Mar 08 19:17:56 2010 +0900
+++ b/upgrade_db.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 . '/Settings.class.php' );
 
 
@@ -194,4 +196,4 @@
 }
 else
 	exit( "DB・膓紊掩\n" );
-?>
\ No newline at end of file
+?>