minor fixes for clang++
[senf.git] / doclib / search_functions.php
index e3205be..9a05010 100644 (file)
@@ -1,4 +1,4 @@
-<?php include '../doc/html/search_paths.php'; ?>
+<?php include 'search_paths.php'; ?>
 <?php
 
 function search_results()
@@ -318,7 +318,7 @@ function search()
   $files = array();
   $j=0;
   for ($i=0; $i<sizeof($paths); $i++) {
-       if (!($f=@fopen($paths[$i]."search.idx","rb"))) 
+    if (!($f=@fopen($paths[$i]."search.idx","rb"))) 
     {
       die("Error: Search index file could NOT be opened!");
       continue;