OSDN Git Service

added: remove video with real file.
[epgrec/epgrec.git] / simpleReservation.php
1 <?php
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
7 if( ! isset( $_GET['program_id'] ) ) exit("Error: 番組が指定されていません" );
8 $program_id = $_GET['program_id'];
9
10 try {
11         Reservation::simple( $program_id );
12 }
13 catch( Exception $e ) {
14         exit( "Error:". $e->getMessage() );
15 }
16 ?>