Changeset 729 for trunk/lib/PDO.inc.php
- Timestamp:
- Jun 30, 2020 12:58:18 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/PDO.inc.php
r724 r729 184 184 185 185 try { 186 // Set charset in DSN and disable emulated prepares as per https://stackoverflow.com/questions/134099/are-pdo-prepared-statements-sufficient-to-prevent-sql-injection/12202218 186 187 $dsn = sprintf('mysql:host=%s;dbname=%s;charset=%s', $this->getParam('db_server'), $this->getParam('db_name'), $this->getParam('character_set')); 187 188 $options = [
Note: See TracChangeset
for help on using the changeset viewer.