aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDhruv Goel <dhruv.goel92@gmail.com>2012-07-10 01:49:38 +0530
committerDhruv <dhruv.goel92@gmail.com>2012-07-12 17:31:58 +0530
commit10b706674e0fc100ff4e21d5fe100a9b532bb4bf (patch)
tree40d81bdda82aa766386077c781af865716b707f8
parent39f8a5fa9f71724d0abd98cdf7a7d82fc7e7bb0f (diff)
downloadforums-10b706674e0fc100ff4e21d5fe100a9b532bb4bf.tar
forums-10b706674e0fc100ff4e21d5fe100a9b532bb4bf.tar.gz
forums-10b706674e0fc100ff4e21d5fe100a9b532bb4bf.tar.bz2
forums-10b706674e0fc100ff4e21d5fe100a9b532bb4bf.tar.xz
forums-10b706674e0fc100ff4e21d5fe100a9b532bb4bf.zip
[feature/sphinx-fulltext-search] add binlog_path to config
binlog files are now added to the data folder. PHPBB3-10946
-rw-r--r--phpBB/docs/sphinx.sample.conf1
-rw-r--r--phpBB/includes/search/fulltext_sphinx.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/docs/sphinx.sample.conf b/phpBB/docs/sphinx.sample.conf
index d7e59a11fc..000d8157d6 100644
--- a/phpBB/docs/sphinx.sample.conf
+++ b/phpBB/docs/sphinx.sample.conf
@@ -93,4 +93,5 @@ searchd
max_children = 30
pid_file = {DATA_PATH}/searchd.pid
max_matches = 20000
+ binlog_path = {DATA_PATH}
}
diff --git a/phpBB/includes/search/fulltext_sphinx.php b/phpBB/includes/search/fulltext_sphinx.php
index 2690612b1a..8514b9cabb 100644
--- a/phpBB/includes/search/fulltext_sphinx.php
+++ b/phpBB/includes/search/fulltext_sphinx.php
@@ -315,6 +315,7 @@ class phpbb_search_fulltext_sphinx
array('max_children', '30'),
array('pid_file', $config['fulltext_sphinx_data_path'] . "searchd.pid"),
array('max_matches', (string) MAX_MATCHES),
+ array('binlog_path', $config['fulltext_sphinx_data_path']),
),
);