Skip to content

Commit

Permalink
Update ipx800v4.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Feb 20, 2025
1 parent 241a009 commit e06b614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/class/ipx800v4.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public function saveIPXConfig() {
if ($this->getConfiguration('username') != '' && $this->getConfiguration('password') != '') {
$url .= urlencode($this->getConfiguration('username')) . ':' . urlencode($this->getConfiguration('password')) . '@';
}
$url .= $this->getConfiguration('ip') . '/admin/download/config.gce';
$url .= $this->getConfiguration('ip').':'.$this->getConfiguration('port',80) . '/admin/download/config.gce';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_FILE, fopen($filepath, 'w+'));
Expand Down

0 comments on commit e06b614

Please sign in to comment.