diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-04 00:02:24 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-04 00:02:24 +0200 |
commit | 1652ded48c9c62c40157a5142e5231adbc574ddb (patch) | |
tree | 15796c59bd411160154f2ae85e4acd44a34da047 /plugins/SphinxSearch/scripts | |
parent | 362f395e035682cd8d2437cfca904654687be867 (diff) |
i18n/L10n review, extension credits added.
Diffstat (limited to 'plugins/SphinxSearch/scripts')
-rwxr-xr-x | plugins/SphinxSearch/scripts/gen_config.php | 2 | ||||
-rwxr-xr-x | plugins/SphinxSearch/scripts/index_update.php | 8 | ||||
-rw-r--r-- | plugins/SphinxSearch/scripts/sphinx-utils.php | 1 |
3 files changed, 4 insertions, 7 deletions
diff --git a/plugins/SphinxSearch/scripts/gen_config.php b/plugins/SphinxSearch/scripts/gen_config.php index d5a00b6b6..e7f397747 100755 --- a/plugins/SphinxSearch/scripts/gen_config.php +++ b/plugins/SphinxSearch/scripts/gen_config.php @@ -70,8 +70,6 @@ searchd END; - - /** * Build config entries for a single site * @fixme we only seem to have master DB currently available... diff --git a/plugins/SphinxSearch/scripts/index_update.php b/plugins/SphinxSearch/scripts/index_update.php index 23c60ced7..abac5434f 100755 --- a/plugins/SphinxSearch/scripts/index_update.php +++ b/plugins/SphinxSearch/scripts/index_update.php @@ -42,20 +42,20 @@ sphinx_iterate_sites('sphinx_index_update'); function sphinx_index_update($sn) { $base = sphinx_base(); - + $baseIndexes = array('notice', 'profile'); $params = array(); - + if (have_option('rotate')) { $params[] = '--rotate'; } foreach ($baseIndexes as $index) { $params[] = "{$sn->dbname}_{$index}"; } - + $params = implode(' ', $params); $cmd = "$base/bin/indexer --config $base/etc/sphinx.conf $params"; - + print "$cmd\n"; system($cmd); } diff --git a/plugins/SphinxSearch/scripts/sphinx-utils.php b/plugins/SphinxSearch/scripts/sphinx-utils.php index 7bbc25270..22d70fb8d 100644 --- a/plugins/SphinxSearch/scripts/sphinx-utils.php +++ b/plugins/SphinxSearch/scripts/sphinx-utils.php @@ -60,4 +60,3 @@ function sphinx_iterate_sites($callback) } } } - |