view channelSetSID.php @ 88:3941ee5b3e63

added an utility script to change directories to required permission
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 02 Mar 2010 22:29:08 +0900
parents ded62b253bca
children 49145003e6a3
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 ) {
		// 無視
	}
}
?>