aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2012-07-12 17:48:17 +0530
committerDhruv <dhruv.goel92@gmail.com>2012-07-19 23:01:49 +0530
commit609ce3ae8fb55e717ff188d2ec9c10c6ae252b7a (patch)
treeb13a63286943e2fb09ebd455d689c1f306636c56 /phpBB/includes/search
parent81959927e53ebc62765ff075d23feeaf9b40a95d (diff)
downloadforums-609ce3ae8fb55e717ff188d2ec9c10c6ae252b7a.tar
forums-609ce3ae8fb55e717ff188d2ec9c10c6ae252b7a.tar.gz
forums-609ce3ae8fb55e717ff188d2ec9c10c6ae252b7a.tar.bz2
forums-609ce3ae8fb55e717ff188d2ec9c10c6ae252b7a.tar.xz
forums-609ce3ae8fb55e717ff188d2ec9c10c6ae252b7a.zip
[feature/sphinx-fulltext-search] add pgsql functionality
PHPBB3-10946
Diffstat (limited to 'phpBB/includes/search')
-rw-r--r--phpBB/includes/search/fulltext_sphinx.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/search/fulltext_sphinx.php b/phpBB/includes/search/fulltext_sphinx.php
index d82a56c6f4..76caf9ae8c 100644
--- a/phpBB/includes/search/fulltext_sphinx.php
+++ b/phpBB/includes/search/fulltext_sphinx.php
@@ -108,7 +108,7 @@ class phpbb_search_fulltext_sphinx
*/
function init()
{
- if ($this->db->sql_layer != 'mysql' && $this->db->sql_layer != 'mysql4' && $this->db->sql_layer != 'mysqli')
+ if ($this->db->sql_layer != 'mysql' && $this->db->sql_layer != 'mysql4' && $this->db->sql_layer != 'mysqli' && $this->db->sql_layer != 'postgres')
{
return $this->user->lang['FULLTEXT_SPHINX_WRONG_DATABASE'];
}