plugins/SpecialPageFuncs.php
changeset 648 082b7b47b859
parent 607 935f3799b654
child 682 9523cc7d767c
equal deleted inserted replaced
647:6bb3d447b4b8 648:082b7b47b859
   844 function page_Special_Autofill()
   844 function page_Special_Autofill()
   845 {
   845 {
   846   global $db, $session, $paths, $template, $plugins; // Common objects
   846   global $db, $session, $paths, $template, $plugins; // Common objects
   847   global $lang;
   847   global $lang;
   848   
   848   
       
   849   require_once(ENANO_ROOT . '/includes/search.php');
       
   850   
   849   header('Content-type: text/javascript');
   851   header('Content-type: text/javascript');
   850   
   852   
   851   $dataset = array();
   853   $dataset = array();
   852   if ( isset($_GET['type']) )
   854   if ( isset($_GET['type']) )
   853   {
   855   {