"por.index" // Only use one index file per array item for the meantime. // Hope to add multiple index searches, soon. ); /*** Toggle reading of each file's from the file system, may impact speed. **** 0 = OFF, 1 = ON Toggles some Meta and date-time displays. */ $intGetFileData = 0; /*** This indicates the directory where the files may be accessed. **** META Tags and File Modification Times depend on this. */ /* THE URL STUFF IS BROKEN, I THINK. Stick to FileSystem until fixed. */ $strSiteRootDir = $DOCUMENT_ROOT; // $strSiteRootDir = "/www/some/dir"; // $strSiteRootDir = "C:/www/some/dir"; // $strSiteRootDir = "http://DarkStar"; // $strSiteRootDir = "ftp://DarkStar"; /********* Optional Configuration ********/ /****** The Base of your web ******/ // You may override the URL stored in your SWISH-E Index here $strBaseURL = "/"; // $strBaseURL = "/search/"; // $strBaseURL = "/~username/"; // $strBaseURL = "/"; /*** Name of associated style sheet. Change this if you rename it. ***/ $strStyleName = "search.css"; /*** Name of current document. Change only if form doesn't call search.php3. ***/ // $strSelf = "/simplesearch-1.0/search.php3"; /* On platforms with PHP installed as a server module you may use this */ $strSelf = basename($PHP_SELF); /* On platforms with PHP installed as a CGI, you may use this */ //$strSelf = basename(getenv("PATH_INFO")); /*** Setup MaxHits options (a single value is allowed if desired) ***/ $aryMaxHits = array( 10,50,100,500 ); /*** Setup meta tags to display with their headings **** Seperate with a |, leave description blank if not wanted. */ /* $aryMetaList = array( "description|", "author|Written By: " ); */ /*** Toggle Body, Head, Title, ... limiters (1=true, 0=false) ***/ $intUseLimits = 0 ; /*** Turn this on to view the Swish-e debug information ***/ $debug = 0; // $debug = 0 // Debug Display Off // $debug = 1 // Debug commandline // $debug = 2 // Debug 1 + Comment Values // $debug = 3 // Debug 2 + Comments // $debug = 4 // Debug 3 + filenames for File Info /*** Setup Search Limit [t] delimiters **** This is in case SWISH-E adds more limiters **** Or, you may have added your own.*/ $arySearchDelimiter = array( "Head" => "H", "Title" => "t", "Body" => "B", "Heading" => "h", "Emphasis" => "e", "Comment" => "c" ); //****** Please Configure above lines ****** ?>