[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi image.cgi, NONE, 1.1.2.2
Ivan,,,
ivan at wavetail.420.am
Thu Jan 21 00:34:26 PST 2010
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail.420.am:/tmp/cvs-serv21439
Added Files:
Tag: FREESIDE_1_9_BRANCH
image.cgi
Log Message:
more self-service skinning config options, and start taking a stab at reorganizing config sections, RT#6893
--- NEW FILE: image.cgi ---
#!/usr/bin/perl -T
#!/usr/bin/perl -Tw
use strict;
use CGI;
use FS::SelfService qw( skin_info );
my $cgi = new CGI;
my($query) = $cgi->keywords;
$query =~ /^(\w+)$/ or '' =~ /^()$/;
my $name = $1;
my $info = skin_info();
print $cgi->header( '-type' => 'image/png', #for now
#'-expires' => 'now',
).
$info->{$name};
More information about the freeside-commits
mailing list