Permalink
Browse files

Fixing ssl support bug #13

  • Loading branch information...
1 parent e340ed2 commit ebd692b17e25d13c65e7af8e1ca41f807969b372 Johannes "Haensel" Bauer committed Apr 13, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 EActiveResource/EActiveResourceConnection.php
@@ -87,7 +87,7 @@ public function query(EActiveResourceRequest $request)
//AUTH STUFF
if(isset($this->auth))
{
- $request->setHttpLogin($auth['username'], $auth['password'], $auth['type']);
+ $request->setHttpLogin($this->auth['username'], $this->auth['password'], $this->auth['type']);
}
//SSL STUFF
@@ -139,13 +139,13 @@ public function execute(EActiveResourceRequest $request)
//AUTH STUFF
if(isset($this->auth))
{
- $request->setHttpLogin($auth['username'], $auth['password'], $auth['type']);
+ $request->setHttpLogin($this->auth['username'], $this->auth['password'], $this->auth['type']);
}
//SSL STUFF
if(isset($this->ssl))
{
- $request->setSSL($ssl['verifyPeer'], $ssl['verifyHost'], $ssl['pathToCert']);
+ $request->setSSL($this->ssl['verifyPeer'], $this->ssl['verifyHost'], $this->ssl['pathToCert']);
}
$response=$request->run();
@@ -188,4 +188,4 @@ protected function recursiveImplode($glue, $pieces)
}
}
-?>
+?>

0 comments on commit ebd692b

Please sign in to comment.