Skip to content

Commit

Permalink
bugfix; updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
heartsentwined committed Sep 6, 2012
1 parent 9a39965 commit 8958efd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
@@ -1,6 +1,6 @@
# zf2-assetwig
# zf2-browser

v0.3.0
v0.3.0 [![Build Status](https://secure.travis-ci.org/heartsentwined/zf2-browser.png)](http://travis-ci.org/heartsentwined/zf2-browser)

web browser with quick browse methods using zf2's HTTP Client and cURL

Expand Down
4 changes: 2 additions & 2 deletions src/Heartsentwined/Browser/Factory.php
Expand Up @@ -173,8 +173,8 @@ public function newInstance()
}

//sets adapter here to force-load it, in order to set CURL opts
$this->setAdapter('Zend\Http\Client\Adapter\Curl');
$adapter = $this->getAdapter();
$browser->setAdapter('Zend\Http\Client\Adapter\Curl');
$adapter = $browser->getAdapter();

if ($connectTimeout = $this->getConnectTimeout()) {
$adapter->setCurlOption(CURLOPT_CONNECTTIMEOUT, $connectTimeout);
Expand Down

0 comments on commit 8958efd

Please sign in to comment.