|
Revision 587, 294 bytes
(checked in by kake, 4 years ago)
|
|
Encapsulate config data in OpenGuides::Config.
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | use warnings; |
|---|
| 4 | use strict; |
|---|
| 5 | |
|---|
| 6 | use CGI; |
|---|
| 7 | use OpenGuides::Config; |
|---|
| 8 | use OpenGuides::SuperSearch; |
|---|
| 9 | |
|---|
| 10 | my $config = OpenGuides::Config->new( file => "wiki.conf" ); |
|---|
| 11 | my $search = OpenGuides::SuperSearch->new( config => $config ); |
|---|
| 12 | my %vars = CGI::Vars(); |
|---|
| 13 | $search->run( vars => \%vars ); |
|---|