Mercurial > epgrec.yaz
comparison simpleReservation.php @ 87:36ac7c416bd7
merged with upstream
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 01 Mar 2010 20:51:36 +0900 |
parents | fce37385c8b4 cb7da56c4198 |
children | 66eabfc1b118 |
comparison
equal
deleted
inserted
replaced
75:11f63ae04a96 | 87:36ac7c416bd7 |
---|---|
6 include_once( INSTALL_PATH . "/Settings.class.php" ); | 6 include_once( INSTALL_PATH . "/Settings.class.php" ); |
7 | 7 |
8 if( ! isset( $_GET['program_id'] ) ) exit("Error: 番組が指定されていません" ); | 8 if( ! isset( $_GET['program_id'] ) ) exit("Error: 番組が指定されていません" ); |
9 $program_id = $_GET['program_id']; | 9 $program_id = $_GET['program_id']; |
10 | 10 |
11 $settings = Settings::factory(); | |
12 | |
11 try { | 13 try { |
12 $settings = Settings::factory(); | |
13 | |
14 Reservation::simple( $program_id, 0, $settings->autorec_mode); | 14 Reservation::simple( $program_id, 0, $settings->autorec_mode); |
15 } | 15 } |
16 catch( Exception $e ) { | 16 catch( Exception $e ) { |
17 exit( "Error:". $e->getMessage() ); | 17 exit( "Error:". $e->getMessage() ); |
18 } | 18 } |