Mercurial > epgrec.yaz
comparison recomplete.php @ 49:f8f6e0d3acaf
fix: bug
author | Sushi-k <epgrec@park.mda.or.jp> |
---|---|
date | Tue, 28 Jul 2009 19:06:04 +0900 |
parents | 8965ef108821 |
children | 3bed74eca373 |
comparison
equal
deleted
inserted
replaced
48:8fbe3913f214 | 49:f8f6e0d3acaf |
---|---|
12 $rrec = new DBRecord( RESERVE_TBL, "id" , $reserve_id ); | 12 $rrec = new DBRecord( RESERVE_TBL, "id" , $reserve_id ); |
13 | 13 |
14 if( file_exists( INSTALL_PATH .$settings->spool . "/". $rrec->path ) ) { | 14 if( file_exists( INSTALL_PATH .$settings->spool . "/". $rrec->path ) ) { |
15 // 予約完了 | 15 // 予約完了 |
16 $rrec->complete = '1'; | 16 $rrec->complete = '1'; |
17 if( $settings->mediatomb_update ) { | 17 if( $settings->mediatomb_update == 1 ) { |
18 // ちょっと待った方が確実っぽい | 18 // ちょっと待った方が確実っぽい |
19 @exec("sync"); | 19 @exec("sync"); |
20 sleep(15); | 20 sleep(15); |
21 $dbh = mysql_connect( $settings->db_host, $settings->db_user, $settings->db_pass ); | 21 $dbh = mysql_connect( $settings->db_host, $settings->db_user, $settings->db_pass ); |
22 if( $dbh !== false ) { | 22 if( $dbh !== false ) { |