diff options
author | Nils Adermann <naderman@naderman.de> | 2014-10-18 12:32:39 -0400 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2014-10-18 12:32:39 -0400 |
commit | e7ad87e15fc0ff88c88797c2817f901c3c606ca4 (patch) | |
tree | b3c6838f2a5658a8680c6468017d044b2ee22d87 /phpBB/phpbb/search/fulltext_sphinx.php | |
parent | 39e51e559980d239a08a59e789a1165cc2bbcfff (diff) | |
download | forums-e7ad87e15fc0ff88c88797c2817f901c3c606ca4.tar forums-e7ad87e15fc0ff88c88797c2817f901c3c606ca4.tar.gz forums-e7ad87e15fc0ff88c88797c2817f901c3c606ca4.tar.bz2 forums-e7ad87e15fc0ff88c88797c2817f901c3c606ca4.tar.xz forums-e7ad87e15fc0ff88c88797c2817f901c3c606ca4.zip |
[ticket/13181] Replace database credentials with placeholders in sphinx conf
PHPBB3-13181
Diffstat (limited to 'phpBB/phpbb/search/fulltext_sphinx.php')
-rw-r--r-- | phpBB/phpbb/search/fulltext_sphinx.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/search/fulltext_sphinx.php b/phpBB/phpbb/search/fulltext_sphinx.php index 79d68d2ae1..427464eb3c 100644 --- a/phpBB/phpbb/search/fulltext_sphinx.php +++ b/phpBB/phpbb/search/fulltext_sphinx.php @@ -256,8 +256,8 @@ class fulltext_sphinx array('type', $this->dbtype . ' # mysql or pgsql'), // 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_user', $dbuser), - array('sql_pass', $dbpasswd), + array('sql_user', '[dbuser]'), + array('sql_pass', '[dbpassword]'), array('sql_db', $dbname), array('sql_port', $dbport . ' # optional, default is 3306 for mysql and 5432 for pgsql'), array('sql_query_pre', 'SET NAMES \'utf8\''), |