Mercurial > epgrec.yaz
diff channelSetSID.php @ 102:49145003e6a3
fix whitespace and new line code
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 08 Mar 2010 01:08:47 +0900 |
parents | ded62b253bca |
children |
line wrap: on
line diff
--- a/channelSetSID.php Thu Mar 04 17:12:53 2010 +0900 +++ b/channelSetSID.php Mon Mar 08 01:08:47 2010 +0900 @@ -1,17 +1,17 @@ -<?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 ) { - // 無視 - } -} -?> \ No newline at end of file +<?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 ) { + // 無視 + } +} +?>