mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
Addresses two issues: 1. When pgsql extension is missing, @pg_connect would silently abort execution. Check for pg_connect existence before calling it, same with pg_pconnect. 2. When connection fails, the error reported by php is discarded. User is shown the failure message without the reason for failure, making debugging difficult. Collect the error (if any) via a temporarily installed error handler, and display it if connection failed. PHPBB3-10057 |
||
---|---|---|
.. | ||
db_tools.php | ||
dbal.php | ||
firebird.php | ||
index.htm | ||
mssql.php | ||
mssql_odbc.php | ||
mssqlnative.php | ||
mysql.php | ||
mysqli.php | ||
oracle.php | ||
postgres.php | ||
sqlite.php |