Mercurial > epgrec.yaz
annotate simpleReservation.php @ 119:b172a0b1ea48
revoke mb_str_replace for now
| author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
|---|---|
| date | Mon, 15 Mar 2010 01:39:14 +0900 |
| parents | 36ac7c416bd7 |
| children | 66eabfc1b118 |
| rev | line source |
|---|---|
| 1 | 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" ); | |
| 77 | 6 include_once( INSTALL_PATH . "/Settings.class.php" ); |
| 1 | 7 |
| 8 if( ! isset( $_GET['program_id'] ) ) exit("Error: 番組が指定されていません" ); | |
| 9 $program_id = $_GET['program_id']; | |
| 10 | |
| 77 | 11 $settings = Settings::factory(); |
| 12 | |
| 1 | 13 try { |
|
74
fce37385c8b4
use autorec_mode even though simple reservation
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
1
diff
changeset
|
14 Reservation::simple( $program_id, 0, $settings->autorec_mode); |
| 1 | 15 } |
| 16 catch( Exception $e ) { | |
| 17 exit( "Error:". $e->getMessage() ); | |
| 18 } | |
|
74
fce37385c8b4
use autorec_mode even though simple reservation
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
1
diff
changeset
|
19 ?> |
