#!/usr/bin/perl5 -w
# ´Á»ú¥³¡¼¥É EUC

use SIC;
use SICX::Commander::Site;
use Cycom::Util::Server;

exit if &checkBusy();

#
my $comm = SICX::Commander::Site->new();
my $cgi = $comm->{cgi};
my $siteid = $cgi->param('siteid');
if ( $siteid =~ /^(nishitokyo)$/ ){
	print $cgi->redirect('http://nishitokyo.shop-info.com/renewal.html');
	exit(0);
}

#$comm->{sess}->set_config(
#    filedir => '/home/SIC/tmp/sess',
#    expires => '+1y',
#    path => '/',
#    domain => 'data.shop-info.com'
#);

unless ($comm->start('SICX::Proc::Site::list_act')) {
    $comm->error();
}

#
$comm->finish();

#
exit(0);
