Permalink
Browse files

Fixed a problem setting the "base" for the API URLs

  • Loading branch information...
1 parent b0c63c1 commit 28e273de6461b4db5be61fb5a9b412ec6d9d15f5 @magicmonkey magicmonkey committed Mar 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/api-v2/inc/Request.php
@@ -47,7 +47,7 @@ public function __construct($parseParams = true)
$this->setScheme('http://');
}
- $this->setBase($this->getScheme() . $this->getPathInfo());
+ $this->setBase($this->getScheme() . $this->getHost());
if ($parseParams) {
$this->parseParameters();

0 comments on commit 28e273d

Please sign in to comment.