]> git.imager.perl.org - bse.git/blame - site/cgi-bin/fileprogress.fcgi
support for new templating for product options
[bse.git] / site / cgi-bin / fileprogress.fcgi
CommitLineData
d54a6720
TC
1#!/usr/bin/perl -w
2# -d:ptkdb
3BEGIN { $ENV{DISPLAY} = '192.168.32.54:0.0' }
4use strict;
5use FindBin;
6use CGI::Fast;
7use lib "$FindBin::Bin/modules";
8use BSE::Request;
9use BSE::Template;
10use BSE::UI::FileProgress;
11
12my $cfg = BSE::Cfg->new; # only do this once
13
14while (my $cgi = CGI::Fast->new) {
b3dbf74b
TC
15 my $req = BSE::Request->new
16 (
17 nosession => 1,
18 nodatabase => 1,
19 cfg => $cfg,
20 cgi => $cgi,
21 fastcgi => $FCGI::global_request->IsFastCGI,
22 );
d54a6720
TC
23
24 my $result = BSE::UI::FileProgress->dispatch($req);
25
26 $req->output_result($result);
27}
28