aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search
diff options
context:
space:
mode:
authorDhruv Goel <dhruv.goel92@gmail.com>2014-10-19 01:28:36 +0530
committerDhruv Goel <dhruv.goel92@gmail.com>2014-10-19 01:28:36 +0530
commitc6272fca075f55d089bbd0a4139bf05db7a0daab (patch)
treeb3c6838f2a5658a8680c6468017d044b2ee22d87 /phpBB/phpbb/search
parent39e51e559980d239a08a59e789a1165cc2bbcfff (diff)
parente7ad87e15fc0ff88c88797c2817f901c3c606ca4 (diff)
downloadforums-c6272fca075f55d089bbd0a4139bf05db7a0daab.tar
forums-c6272fca075f55d089bbd0a4139bf05db7a0daab.tar.gz
forums-c6272fca075f55d089bbd0a4139bf05db7a0daab.tar.bz2
forums-c6272fca075f55d089bbd0a4139bf05db7a0daab.tar.xz
forums-c6272fca075f55d089bbd0a4139bf05db7a0daab.zip
Merge pull request #3042 from naderman/ticket/13181
[ticket/13181] Replace database credentials with placeholders in sphinx conf
Diffstat (limited to 'phpBB/phpbb/search')
-rw-r--r--phpBB/phpbb/search/fulltext_sphinx.php4
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\''),