mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11744] spelling
PHPBB3-11744
This commit is contained in:
parent
f2ad22439f
commit
7dd16f4148
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class phpbb_database_test_connection_manager
|
||||||
catch (PDOException $e)
|
catch (PDOException $e)
|
||||||
{
|
{
|
||||||
$cleaned_dsn = str_replace($this->config['dbpasswd'], '*password*', $dsn);
|
$cleaned_dsn = str_replace($this->config['dbpasswd'], '*password*', $dsn);
|
||||||
throw new Exception("Unable do connect to $cleaned_dsn using PDO with error: {$e->getMessage()}");
|
throw new Exception("Unable to connect to $cleaned_dsn using PDO with error: {$e->getMessage()}");
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
$this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||||
|
|
Loading…
Add table
Reference in a new issue