0byt3m1n1
Path:
/
data
/
0
/
0
/
6
/
46
/
6861
/
user
/
7034
/
cgi-bin
/
[
Home
]
File: mt-xmlrpc.cgi
#!/usr/local/bin/perl -w # Copyright 2001-2004 Six Apart. This code cannot be redistributed without # permission from www.movabletype.org. # # $Id: mt-xmlrpc.cgi,v 1.26 2004/05/17 19:51:26 ezra Exp $ use strict; my($MT_DIR); BEGIN { if ($0 =~ m!(.*[/\\])!) { $MT_DIR = $1; } else { $MT_DIR = './'; } unshift @INC, $MT_DIR . 'lib'; unshift @INC, $MT_DIR . 'extlib'; } use XMLRPC::Transport::HTTP; use MT::XMLRPCServer; $MT::XMLRPCServer::MT_DIR = $MT_DIR; { ## Shut off warnings, because SOAP::Lite 0.55 causes some ## unitialized value warnings that seem to be connected to ## the soap->action local $SIG{__WARN__} = sub { }; my $server = XMLRPC::Transport::HTTP::CGI->new; $server->dispatch_to('blogger', 'metaWeblog', 'mt'); $server->handle; }
© 2017 -
ZeroByte.ID
.