mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge branch 'develop-ascraeus' into develop
# By Nils Adermann # Via Dhruv Goel (1) and Nils Adermann (1) * develop-ascraeus: [ticket/13181] Replace database credentials with placeholders in sphinx conf
This commit is contained in:
commit
1bb3d6b410
2 changed files with 3 additions and 3 deletions
|
@ -83,7 +83,7 @@ $lang = array_merge($lang, array(
|
||||||
'FULLTEXT_SPHINX_PORT_EXPLAIN' => 'Port on which the sphinx search daemon (searchd) listens. Leave empty to use the default Sphinx API port 9312',
|
'FULLTEXT_SPHINX_PORT_EXPLAIN' => 'Port on which the sphinx search daemon (searchd) listens. Leave empty to use the default Sphinx API port 9312',
|
||||||
'FULLTEXT_SPHINX_WRONG_DATABASE' => 'The sphinx search for phpBB supports MySQL and PostgreSQL only.',
|
'FULLTEXT_SPHINX_WRONG_DATABASE' => 'The sphinx search for phpBB supports MySQL and PostgreSQL only.',
|
||||||
'FULLTEXT_SPHINX_CONFIG_FILE' => 'Sphinx config file',
|
'FULLTEXT_SPHINX_CONFIG_FILE' => 'Sphinx config file',
|
||||||
'FULLTEXT_SPHINX_CONFIG_FILE_EXPLAIN' => 'The generated content of the sphinx config file. This data needs to be pasted into the sphinx.conf which is used by sphinx search daemon.',
|
'FULLTEXT_SPHINX_CONFIG_FILE_EXPLAIN' => 'The generated content of the sphinx config file. This data needs to be pasted into the sphinx.conf which is used by sphinx search daemon. Replace the [dbuser] and [dbpassword] placeholders with your database credentials.',
|
||||||
'FULLTEXT_SPHINX_NO_CONFIG_DATA' => 'The sphinx data and config directory paths are not defined. Please define them to generate the config file.',
|
'FULLTEXT_SPHINX_NO_CONFIG_DATA' => 'The sphinx data and config directory paths are not defined. Please define them to generate the config file.',
|
||||||
|
|
||||||
'GENERAL_SEARCH_SETTINGS' => 'General search settings',
|
'GENERAL_SEARCH_SETTINGS' => 'General search settings',
|
||||||
|
|
|
@ -256,8 +256,8 @@ class fulltext_sphinx
|
||||||
array('type', $this->dbtype . ' # mysql or pgsql'),
|
array('type', $this->dbtype . ' # mysql or pgsql'),
|
||||||
// This config value sql_host needs to be changed incase sphinx and sql are on different servers
|
// This config value sql_host needs to be changed incase sphinx and sql are on different servers
|
||||||
array('sql_host', $dbhost . ' # SQL server host sphinx connects to'),
|
array('sql_host', $dbhost . ' # SQL server host sphinx connects to'),
|
||||||
array('sql_user', $dbuser),
|
array('sql_user', '[dbuser]'),
|
||||||
array('sql_pass', $dbpasswd),
|
array('sql_pass', '[dbpassword]'),
|
||||||
array('sql_db', $dbname),
|
array('sql_db', $dbname),
|
||||||
array('sql_port', $dbport . ' # optional, default is 3306 for mysql and 5432 for pgsql'),
|
array('sql_port', $dbport . ' # optional, default is 3306 for mysql and 5432 for pgsql'),
|
||||||
array('sql_query_pre', 'SET NAMES \'utf8\''),
|
array('sql_query_pre', 'SET NAMES \'utf8\''),
|
||||||
|
|
Loading…
Add table
Reference in a new issue