[Pkg-owncloud-commits] [owncloud] 18/95: App install behind a Proxy
David Prévot
taffit at moszumanska.debian.org
Wed Mar 11 15:49:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v8.0.1
in repository owncloud.
commit 948ee0e39895de68dd1e2213e17a346bc951d210
Author: Witali Rott <info at hlop.eu>
Date: Wed Feb 11 07:47:50 2015 +0100
App install behind a Proxy
---
lib/private/installer.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/private/installer.php b/lib/private/installer.php
index 4f4a498..7325e0d 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"));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list