mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/10057] Fixes for a bunch of small problems.
PHPBB3-10057
This commit is contained in:
parent
020d06cdaa
commit
87e3560c30
3 changed files with 18 additions and 2 deletions
|
@ -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('');
|
||||
|
|
|
@ -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('');
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue