X-Git-Url: https://git.cweiske.de/phinde.git/blobdiff_plain/696fcd7ce4d495e356667019493bf312e2a6e47b..d3cdabcac7feb8c62451ac12a22256c0eff16873:/data/config.php.dist diff --git a/data/config.php.dist b/data/config.php.dist index 9c432f9..38c0432 100644 --- a/data/config.php.dist +++ b/data/config.php.dist @@ -2,25 +2,25 @@ $GLOBALS['phinde'] = array( //name of the app in the frontend 'apptitle' => 'website search', + //needed for websub + 'baseurl' => 'http://phinde.example.org/', 'elasticsearch' => 'http://127.0.0.1:9200/phinde/', //whitelist of domains that shall be crawled 'domains' => array( 'www.example.org', 'test.example.org' ), - //list of URL beginnings that should be ignored - 'blacklist' => array( - 'http://bad.example.org/' - ), //list of regexes for URLs that should not be crawled 'crawlBlacklist' => array( ), - //list of URLs that should be subscribed to with PubSubHubbub - 'subscriptions' => array( - 'http://www.example.org/feed', + //modify URLs with regex + 'urlRewrites' => array( + // '^http://example.org/' => 'https://example.org/', ), //verbose output 'debug' => true, + //full path to log file + 'logfile' => null, //time in seconds after which URLs may be re-indexed 'refreshtime' => 86400, //if directly linked URLs shall be indexed, even if they are @@ -34,5 +34,13 @@ $GLOBALS['phinde'] = array( 'showFullContent' => false, //search result "hit" template file 'hitTemplate' => 'hit.htm', + //sidebar help text. empty to disable + 'sidebarinclude' => 'search/sidebar-searchtips.htm', + //default sort order: "score" or "date" + 'defaultSort' => 'score', + //database for PuSH subscriptions + 'db_dsn' => 'mysql:host=localhost;dbname=phinde', + 'db_user' => 'FIXME', + 'db_pass' => 'FIXME', ); -?> \ No newline at end of file +?>