1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[feature/sphinx-fulltext-search] add pgsql functionality

PHPBB3-10946
This commit is contained in:
Dhruv
2012-07-12 17:48:17 +05:30
parent 81959927e5
commit 609ce3ae8f
2 changed files with 2 additions and 2 deletions

View File

@@ -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'];
}