Use right path of configfile in search.php