Merge pull request #14086 from hlop/master

App install behind a Proxy
This commit is contained in:
Lukas Reschke 2015-02-13 12:56:01 +01:00
commit 95860d8113
1 changed files with 1 additions and 1 deletions

View 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"));