Mercurial > epgrec.yaz
view simpleReservation.php @ 168:4dee3368df63
merged with upstream
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Fri, 16 Apr 2010 19:08:58 +0900 |
parents | 66eabfc1b118 |
children |
line wrap: on
line source
<?php include_once('config.php'); include_once( INSTALL_PATH . "/DBRecord.class.php" ); include_once( INSTALL_PATH . "/Reservation.class.php" ); include_once( INSTALL_PATH . "/reclib.php" ); include_once( INSTALL_PATH . "/Settings.class.php" ); if( ! isset( $_GET['program_id'] ) ) exit("Error: 番組が指定されていません" ); $program_id = $_GET['program_id']; $settings = Settings::factory(); try { Reservation::simple( $program_id , 0, $settings->autorec_mode); } catch( Exception $e ) { exit( "Error:". $e->getMessage() ); } ?>