[ticket/10057] Fixes for a bunch of small problems.

PHPBB3-10057
This commit is contained in:
Oleg Pudeyev 2011-03-08 19:48:56 -05:00
parent 020d06cdaa
commit 87e3560c30
3 changed files with 18 additions and 2 deletions

View file

@ -81,7 +81,7 @@ class dbal_firebird extends dbal
}
else
{
$thih->service_handle = false;
$this->service_handle = false;
}
return ($this->db_connect_id) ? $this->db_connect_id : $this->sql_error('');

View file

@ -98,7 +98,7 @@ class dbal_postgres extends dbal
}
else
{
if (!function_exists('pg_pconnect'))
if (!function_exists('pg_connect'))
{
$this->connect_error = 'pg_connect function does not exist, is pgsql extension installed?';
return $this->sql_error('');

View file

@ -1,4 +1,20 @@
<?php
/**
*
* @package phpBB
* @version $Id$
* @copyright (c) 2011 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
class phpbb_error_collector
{