discourse-legacysite-perl/site/forum.slowtwitch.com/cgi-bin/ticker/coupons.cgi
2024-06-17 21:49:12 +10:00

19 lines
446 B
Perl
Executable File

#!/bin/env perl
#
# Handle requests for the client-side view of the Ticker.
#
# Returns an xml document containing all the tickers currently present in
# the database.
#
use strict;
use warnings;
use lib '/home/slowtwitch/forum.slowtwitch.com/cgi-bin/admin';
use GForum qw($IN);
GForum::init('/home/slowtwitch/forum.slowtwitch.com/cgi-bin/admin');
use Ticker;
print $IN->header();
GForum::Template->parse_print('include_ticker_coupons.html');