comparison setChannelInfo.php @ 137:a18df712fc7e

merged with upstream
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sun, 21 Mar 2010 03:15:00 +0900
parents 134fced37df5
children
comparison
equal deleted inserted replaced
119:b172a0b1ea48 137:a18df712fc7e
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']) && isset($_POST['skip']) ) {
8
9 try {
10 $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_POST['channel_disc'] );
11 $crec->sid = trim($_POST['sid']);
12 $crec->skip = (int)(trim($_POST['skip']));
13 }
14 catch( Exception $e ) {
15 exit("Error: チャンネル情報更新失敗" );
16 }
17 }
18 ?>