i18n/L10n review, extension credits added.

This commit is contained in:
Siebrand Mazeland
2010-10-04 00:02:24 +02:00
parent 362f395e03
commit 1652ded48c
5 changed files with 33 additions and 12 deletions

View File

@@ -70,8 +70,6 @@ searchd
END;
/**
* Build config entries for a single site
* @fixme we only seem to have master DB currently available...

View File

@@ -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);
}

View File

@@ -60,4 +60,3 @@ function sphinx_iterate_sites($callback)
}
}
}