Mercurial > epgrec.yaz
view channelSetSID.php @ 110:74a174a245d2
modified fail safe hack
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Fri, 12 Mar 2010 15:32:27 +0900 |
parents | 49145003e6a3 |
children |
line wrap: on
line source
<?php include_once('config.php'); include_once( INSTALL_PATH . "/DBRecord.class.php" ); include_once( INSTALL_PATH . "/Settings.class.php" ); if( isset($_POST['sid']) && isset($_POST['channel_disc']) ) { try { $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_POST['channel_disc'] ); $crec->sid = trim($_POST['sid']); } catch( Exception $e ) { // 無視 } } ?>