|Our website is available in several languages and I would like to set it up so that only the relative pages are searched. The current directory structure is as follows:|
../ - root
/search - contains class
/_spanish - all pages in spanish
/_spanish/search - duplicate copy of class file
Below is the beginig portion of the script:
// Imports SiteSearch class
require_once "../search/class.php"; //modified by willis
$Search = new SiteSearch();
// This will create search sections (you MUST create at least one).
// All subdirectories will be searched in automatically
Can you please let me know if this is correct?