2 include_once('config.php');
3 include_once( INSTALL_PATH . "/DBRecord.class.php" );
4 include_once( INSTALL_PATH . "/Reservation.class.php" );
5 include_once( INSTALL_PATH . "/reclib.php" );
6 include_once( INSTALL_PATH . "/Settings.class.php" );
8 if( ! isset( $_GET['program_id'] ) ) exit("Error: 番組が指定されていません" );
9 $program_id = $_GET['program_id'];
11 $settings = Settings::factory();
14 Reservation::simple( $program_id , 0, $settings->autorec_mode);
16 catch( Exception $e ) {
17 exit( "Error:". $e->getMessage() );