plugins/SpecialSearch.php
changeset 592 27377179fe58
parent 590 03a60844c7c5
child 593 4f9bec0d65c1
equal deleted inserted replaced
591:2529833a7731 592:27377179fe58
    63 {
    63 {
    64   global $db, $session, $paths, $template, $plugins; // Common objects
    64   global $db, $session, $paths, $template, $plugins; // Common objects
    65   global $aggressive_optimize_html;
    65   global $aggressive_optimize_html;
    66   global $lang;
    66   global $lang;
    67   
    67   
       
    68   require_once(ENANO_ROOT.'/includes/search.php');
       
    69   
    68   $aggressive_optimize_html = false;
    70   $aggressive_optimize_html = false;
    69   
    71   
    70   if ( !$q = $paths->getParam(0) )
    72   if ( !$q = $paths->getParam(0) )
    71     $q = ( isset($_GET['q']) ) ? $_GET['q'] : '';
    73     $q = ( isset($_GET['q']) ) ? $_GET['q'] : '';
    72   
    74