Skip to content

Commit

Permalink
Fix for some older installs that don't have the PDO::* constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
tburry committed Jun 14, 2011
1 parent 70405b1 commit e9d9e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/config-defaults.php
Expand Up @@ -13,7 +13,7 @@
$Configuration['Database']['User'] = 'dbuser';
$Configuration['Database']['Password'] = '';
$Configuration['Database']['ConnectionOptions'] = array(
PDO::ATTR_PERSISTENT => FALSE,
12 => FALSE, //PDO::ATTR_PERSISTENT => FALSE,
1000 => TRUE, // PDO::MYSQL_ATTR_USE_BUFFERED_QUERY is missing in some php installations
1002 => "set names 'utf8'" // PDO::MYSQL_ATTR_INIT_COMMAND is missing in PHP 5.3, so I use the actual value "1002" instead
);
Expand Down

0 comments on commit e9d9e8a

Please sign in to comment.