Mercurial > epgrec.yaz
view deleteKeyword.php @ 93:80cc05b420af
fix: $*_CHANNEL_MAPに存在しないチャンネルの番組を取得する際のエラーを修正
author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Tue, 02 Mar 2010 23:21:17 +0900 |
parents | f5a9f0eb4858 |
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 . '/Keyword.class.php' ); if( isset($_GET['keyword_id'])) { try { $rec = new Keyword( "id", $_GET['keyword_id'] ); $rec->delete(); } catch( Exception $e ) { exit( "Error:" . $e->getMessage() ); } } else exit( "Error:若若ID絎障" ); ?>