source: trunk/search.cgi

Last change on this file was 1313, checked in by kake, 10 years ago

Removed trailing whitespace that's been annoying me for ages.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 384 bytes
Line 
1#!/usr/local/bin/perl
2
3use warnings;
4use strict;
5use sigtrap die => 'normal-signals';
6use CGI;
7use OpenGuides::Config;
8use OpenGuides::Search;
9
10my $config_file = $ENV{OPENGUIDES_CONFIG_FILE} || "wiki.conf";
11my $config = OpenGuides::Config->new( file => $config_file );
12my $search = OpenGuides::Search->new( config => $config );
13my %vars = CGI::Vars();
14$search->run( vars => \%vars );
Note: See TracBrowser for help on using the repository browser.