Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update Driver/PDODblib/Driver.php

Added PHP_OS != 'Darwin' condition to connect()
  • Loading branch information...
commit 977ff273be846aa691052fe5a1e469b5c794b8e2 1 parent 84fa79b
@steven-mercatante steven-mercatante authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Driver/PDODblib/Driver.php
View
2  Driver/PDODblib/Driver.php
@@ -26,7 +26,7 @@ class Driver implements \Doctrine\DBAL\Driver
*/
public function connect(array $params, $username = null, $password = null, array $driverOptions = array())
{
- if (stristr(PHP_OS, 'WIN')) {
+ if (stristr(PHP_OS, 'WIN') && PHP_OS != 'Darwin') {
$conn = new \Doctrine\DBAL\Driver\PDOConnection(
$this->_constructPdoDsn($params),
$username,
Please sign in to comment.
Something went wrong with that request. Please try again.