Merge pull request #7 from kamil0/patch-2
Removed kebab from the water supply
This commit is contained in:
commit
d57fa54f18
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class MySQL {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Connect to SQL server using PDO
|
// Connect to SQL server using PDO
|
||||||
$this->sql = new PDO($DSN, $dbUname, $dbPword, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_WARNING));
|
$this->sql = new PDO($DSN, $dbUname, $dbPword, array(PDO::ATTR_EMULATE_PREPARES => false, PDO::ATTR_ERRMODE => PDO::ERRMODE_WARNING));
|
||||||
} catch(PDOException $e) {
|
} catch(PDOException $e) {
|
||||||
// Catch connection errors
|
// Catch connection errors
|
||||||
trigger_error('SQL Driver: '. $e->getMessage(), E_USER_ERROR);
|
trigger_error('SQL Driver: '. $e->getMessage(), E_USER_ERROR);
|
||||||
|
|
Reference in a new issue