diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-03-08 19:48:56 -0500 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-03-08 19:48:56 -0500 |
commit | 87e3560c30365d757280f6ef6f067c29c1f9c5f0 (patch) | |
tree | 29e6e24ace3ce5c284b8eef6726c8f5aa5c03b7f | |
parent | 020d06cdaac13372feef615b8689ad2526733243 (diff) | |
download | forums-87e3560c30365d757280f6ef6f067c29c1f9c5f0.tar forums-87e3560c30365d757280f6ef6f067c29c1f9c5f0.tar.gz forums-87e3560c30365d757280f6ef6f067c29c1f9c5f0.tar.bz2 forums-87e3560c30365d757280f6ef6f067c29c1f9c5f0.tar.xz forums-87e3560c30365d757280f6ef6f067c29c1f9c5f0.zip |
[ticket/10057] Fixes for a bunch of small problems.
PHPBB3-10057
-rw-r--r-- | phpBB/includes/db/firebird.php | 2 | ||||
-rw-r--r-- | phpBB/includes/db/postgres.php | 2 | ||||
-rw-r--r-- | phpBB/includes/error_collector.php | 16 |
3 files changed, 18 insertions, 2 deletions
diff --git a/phpBB/includes/db/firebird.php b/phpBB/includes/db/firebird.php index 6786edb964..7e3f15ed1d 100644 --- a/phpBB/includes/db/firebird.php +++ b/phpBB/includes/db/firebird.php @@ -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(''); diff --git a/phpBB/includes/db/postgres.php b/phpBB/includes/db/postgres.php index 69f605fc47..bb116e0763 100644 --- a/phpBB/includes/db/postgres.php +++ b/phpBB/includes/db/postgres.php @@ -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(''); diff --git a/phpBB/includes/error_collector.php b/phpBB/includes/error_collector.php index 6327a38649..55834f354c 100644 --- a/phpBB/includes/error_collector.php +++ b/phpBB/includes/error_collector.php @@ -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 { |