diff options
author | Kevin Chabowski <kevin@kch42.de> | 2012-01-06 01:07:16 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2012-01-06 01:07:16 +0100 |
commit | 484b1d09adf46f94fb409bf125ceb156be267e31 (patch) | |
tree | 34a9e9a50169e8c540831377eb2fffd940e475cc /r7r_repo/models.php | |
parent | 0be7711b7c673cb086da798cd080de3d55f75a1f (diff) | |
download | r7r-repo-484b1d09adf46f94fb409bf125ceb156be267e31.tar.gz r7r-repo-484b1d09adf46f94fb409bf125ceb156be267e31.tar.bz2 r7r-repo-484b1d09adf46f94fb409bf125ceb156be267e31.zip |
package viewer and upload implemented.
Diffstat (limited to 'r7r_repo/models.php')
-rw-r--r-- | r7r_repo/models.php | 2 |
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)); |