diff Reservation.class.php @ 8:218d34ec7874

added: EXTRA_TIME added: EXTRA_TIME
author Sushi-k <epgrec@park.mda.or.jp>
date Thu, 09 Jul 2009 19:46:56 +0900
parents f5a9f0eb4858
children cbbddf99d1cd
line wrap: on
line diff
--- a/Reservation.class.php	Thu Jul 09 19:15:46 2009 +0900
+++ b/Reservation.class.php	Thu Jul 09 19:46:56 2009 +0900
@@ -45,7 +45,7 @@
 		
 		// 時間を計算
 		$start_time = toTimestamp( $starttime );
-		$end_time = toTimestamp( $endtime );
+		$end_time = toTimestamp( $endtime ) + EXTRA_TIME;
 		
 		if( $start_time < (time() + PADDING_TIME + 10) ) {	// 現在時刻より3分先より小さい=すでに開始されている番組
 			$start_time = time() + PADDING_TIME + 10;		// 録画開始時間を3分10秒先に設定する