Skip to content

Commit

Permalink
Update rex_api_project_manager_server.php
Browse files Browse the repository at this point in the history
  • Loading branch information
iceman-fx authored Jan 10, 2021
1 parent 6235298 commit 41a0649
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/server/lib/rex_api_project_manager_server.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function execute()
if($func == "updateData") {

// reload data
$url = $protocol.urlencode($domain)."?rex-api-call=project_manager&api_key=".$api_key.'&t='.$timestamp;
$url = $protocol.urlencode($domain)."index.php?rex-api-call=project_manager&api_key=".$api_key.'&t='.$timestamp;
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_RETURNTRANSFER => 1,
Expand Down Expand Up @@ -142,4 +142,4 @@ public function execute()
}
}

?>
?>

1 comment on commit 41a0649

@rkemmere
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Das ist so nicht richtig! Wenn die URL ohne / am Ende eingegeben wurde, knallt es hier beim Abruf.

Please sign in to comment.