comparison channelSetSID.php @ 87:36ac7c416bd7

merged with upstream
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 01 Mar 2010 20:51:36 +0900
parents ded62b253bca
children 49145003e6a3
comparison
equal deleted inserted replaced
75:11f63ae04a96 87:36ac7c416bd7
1 <?php
2 include_once('config.php');
3 include_once( INSTALL_PATH . "/DBRecord.class.php" );
4 include_once( INSTALL_PATH . "/Settings.class.php" );
5
6
7 if( isset($_POST['sid']) && isset($_POST['channel_disc']) ) {
8
9 try {
10 $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_POST['channel_disc'] );
11 $crec->sid = trim($_POST['sid']);
12 }
13 catch( Exception $e ) {
14 // 無視
15 }
16 }
17 ?>