Mercurial > epgrec.yaz
diff mediatomb.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 | f8af9716f021 |
children |
line wrap: on
line diff
--- a/mediatomb.php Mon Mar 08 19:17:56 2010 +0900 +++ b/mediatomb.php Sat Mar 13 16:45:29 2010 +0900 @@ -1,7 +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.'/reclib.php'); include_once(INSTALL_PATH.'/Settings.class.php');