diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-02-13 12:56:01 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-02-13 12:56:01 +0100 |
commit | 95860d81130e0dead6a0156fb00f89dee0184993 (patch) | |
tree | bb883c970842fa9197e46b055e9d68f5a47bb58d /lib | |
parent | 51f8d240c1c7a2c5fe4ab89854aeae02a33406b4 (diff) | |
parent | 531c89a610d6f667120c2fa48f7ac05886fd57c1 (diff) | |
download | nextcloud-server-95860d81130e0dead6a0156fb00f89dee0184993.tar.gz nextcloud-server-95860d81130e0dead6a0156fb00f89dee0184993.zip |
Merge pull request #14086 from hlop/master
App install behind a Proxy
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/installer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php index b4fbe527b4f..db8f27aeeab 100644 --- a/lib/private/installer.php +++ b/lib/private/installer.php @@ -241,7 +241,7 @@ class OC_Installer{ if(!isset($data['href'])) { throw new \Exception($l->t("No href specified when installing app from http")); } - copy($data['href'], $path); + file_put_contents($path, \OC_Util::getUrlContent($data['href'])); }else{ if(!isset($data['path'])) { throw new \Exception($l->t("No path specified when installing app from local file")); |