aboutsummaryrefslogtreecommitdiffstats
path: root/server.pl
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-10 20:07:18 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-10 20:07:35 +0200
commit9881490f8c578555aa2349f8223104aa22fc8954 (patch)
tree201aa8f9f795f5a8823f81e4e5d3eab22e4110e3 /server.pl
parenteaacbeb2d5fece7fe9cab570f262a8f29be96863 (diff)
Development server.
Diffstat (limited to 'server.pl')
-rwxr-xr-xserver.pl28
1 files changed, 0 insertions, 28 deletions
diff --git a/server.pl b/server.pl
deleted file mode 100755
index 74e7c09..0000000
--- a/server.pl
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/perl -CADS
-
-use strict;
-use warnings;
-use utf8;
-
-use MyServer;
-use lib 'lib';
-use Fripost::Panel::Interface;
-
-my $server = MyServer->new();
-
-$server->entry_points({
- '/cgi-bin' => 'Fripost::Panel::Interface'
-});
-
-my @config = 'default.in';
-push @config, 'config.in' if -f 'config.in';
-
-# TODO: This is only for testing purposes. Using a blessed target above
-# prevents me from logging in.
-$server->options({
- '/cgi-bin' => {
- PARAMS => { cfg_file => [ @config ], format => 'equal' }
- }
-});
-
-$server->run();