aboutsummaryrefslogtreecommitdiff
path: root/r7r_repo/models.php
diff options
context:
space:
mode:
Diffstat (limited to 'r7r_repo/models.php')
-rw-r--r--r7r_repo/models.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/r7r_repo/models.php b/r7r_repo/models.php
index b35a604..cd1ae2b 100644
--- a/r7r_repo/models.php
+++ b/r7r_repo/models.php
@@ -367,7 +367,7 @@ class Package extends BySQLRowEnabled
$update_info = array(
"current-version" => $this->lastversion,
- "dl-path" => $settings["root_url"] . "/packages/" . urlencode($this->name) . "/versions/" . $this->lastversion
+ "dl-path" => $settings["repo_baseurl"] . "/packages/" . urlencode($this->name) . "/versions/" . $this->lastversion
);
file_put_contents(dirname(__FILE__) . "/../packages/" . urlencode($this->name) . "/update", serialize($update_info));