root/branches/release-41/mt-search.cgi

Revision 1493, 294 bytes (checked in by fumiakiy, 9 months ago)

Added a new config directive <MTCfgMaxResults> which returns the value specified in MaxResults.

mt-search.cgi now instantiates the new MT::App::Search.

Updated default templates

  • use limit parameters.
  • removed MTIgnore blocks so the pager appears and background search runs.
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #!/usr/bin/perl -w
2
3 # Movable Type (r) Open Source (C) 2001-2008 Six Apart, Ltd.
4 # This program is distributed under the terms of the
5 # GNU General Public License, version 2.
6 #
7 # $Id$
8
9 use strict;
10 use lib $ENV{MT_HOME} ? "$ENV{MT_HOME}/lib" : 'lib';
11 use MT::Bootstrap App => 'MT::App::Search';
Note: See TracBrowser for help on using the browser.