]> source.dussan.org Git - nextcloud-server.git/commitdiff
App install behind a Proxy
authorWitali Rott <info@hlop.eu>
Wed, 11 Feb 2015 06:47:50 +0000 (07:47 +0100)
committerWitali Rott <info@hlop.eu>
Wed, 11 Feb 2015 06:47:50 +0000 (07:47 +0100)
lib/private/installer.php

index b4fbe527b4f5f65e966e3432b132f73ef9155068..db8f27aeeab920442665a922b4f3f47b1f35ab8c 100644 (file)
@@ -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"));