Permalink
Browse files

Merge remote-tracking branch 'Sliim/master'

  • Loading branch information...
2 parents d6216dd + 8fe08c5 commit b6c593f2d10f6bb753e7606dfaf17501f2a0da16 @akrabat akrabat committed May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/Db/Adapter/Driver/Pdo/Connection.php
@@ -203,7 +203,7 @@ public function connect()
$dsn .= $database;
break;
default:
- $dsn .= (isset($hostname)) ? 'hostname=' . $hostname : '';
+ $dsn .= (isset($hostname)) ? 'host=' . $hostname : '';
$dsn .= (isset($hostname) && isset($database)) ? ';' : '';
$dsn .= (isset($database)) ? 'dbname=' . $database : '';
}

0 comments on commit b6c593f

Please sign in to comment.