Added PDO::ATTR_EMULATE_PREPARES => false
This commit is contained in:
parent
68da2a4eb8
commit
37c32ad08f
|
@ -62,6 +62,7 @@ Db::connect(
|
|||
config('database')['pw']
|
||||
) || die('Error: Unable to connect to database');
|
||||
Db::getPdo()->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||
Db::getPdo()->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue