Skip to content

Commit

Permalink
Url site param fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vela1606 committed Apr 2, 2016
1 parent 0b943c6 commit 98f66fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dataProvider/HL7ServerHandler.php
Expand Up @@ -25,8 +25,8 @@ public function start(stdClass $params)
$data->id = $params->id;
$data->token = $params->token = md5(time());
$server->save($data);

$url = URL . '/lib/HL7/HL7Server.php';
$foo = parse_url(URL);
$url = $foo['scheme'] . '://' . $foo['host'] . $foo['path'] . 'lib/HL7/HL7Server.php';
$curl = curl_init();
$post = [
'host' => $params->ip,
Expand Down

0 comments on commit 98f66fc

Please sign in to comment.