rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit 856c83c7999a032b654faa394f7e021c039b0fdb
parent b703f23d206c3fabcaee02ead51806d6486067eb
Author: MTRNord <mtrnord1@gmail.com>
Date:   Wed,  1 Apr 2015 20:16:30 +0200

another position

Diffstat:
Mcore/libs/OAuth2/vendor/guzzle/guzzle/src/Guzzle/Http/Client.php | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/libs/OAuth2/vendor/guzzle/guzzle/src/Guzzle/Http/Client.php b/core/libs/OAuth2/vendor/guzzle/guzzle/src/Guzzle/Http/Client.php @@ -1,7 +1,9 @@ <?php namespace Guzzle\Http; - +if (headers_sent()){ + echo "lol"; +} use Guzzle\Common\Collection; use Guzzle\Common\AbstractHasDispatcher; use Guzzle\Common\Exception\ExceptionCollection; @@ -67,9 +69,7 @@ class Client extends AbstractHasDispatcher implements ClientInterface */ public function __construct($baseUrl = '', $config = null) { - if (headers_sent()){ - echo "lol"; - } + if (!extension_loaded('curl')) { // @codeCoverageIgnoreStart throw new RuntimeException('The PHP cURL extension must be installed to use Guzzle.');