Mercurial > epgrec.yaz
view simpleReservation.php @ 144:fa1b0995992b
fix: 間抜けなミスを修正
author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Mon, 22 Mar 2010 10:56:21 +0900 |
parents | cb7da56c4198 |
children | 36ac7c416bd7 |
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() ); } ?>