summaryrefslogtreecommitdiffstats
path: root/lib/private/installer.php
diff options
context:
space:
mode:
authorWitali Rott <info@hlop.eu>2015-02-11 07:47:50 +0100
committerWitali Rott <info@hlop.eu>2015-02-11 07:47:50 +0100
commit531c89a610d6f667120c2fa48f7ac05886fd57c1 (patch)
tree7a81a2dc50e374aba7f9278a2b553b0bf4228257 /lib/private/installer.php
parentf65f5e05973a10a242557bd26b1e5fc9488b7b49 (diff)
downloadnextcloud-server-531c89a610d6f667120c2fa48f7ac05886fd57c1.tar.gz
nextcloud-server-531c89a610d6f667120c2fa48f7ac05886fd57c1.zip
App install behind a Proxy
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r--lib/private/installer.php2
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"));