Skip to content

Commit

Permalink
changed default connection to 127.0.0.1 instead of localhost as by de…
Browse files Browse the repository at this point in the history
…fault on most installations it will lock itself down to 127.0.0.1
  • Loading branch information
Mike Willbanks authored and weierophinney committed Feb 28, 2012
1 parent 837150c commit 2fbb370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Cache/Storage/Adapter/Memcached.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function __construct($options = null)

$servers = $options->getServers();
if (!$servers) {
$options->addServer('localhost', 11211);
$options->addServer('127.0.0.1', 11211);
$servers = $options->getServers();
}
$this->memcached->addServers($servers);
Expand Down

0 comments on commit 2fbb370

Please sign in to comment.