App install behind a Proxy

remotes/origin/log-external-deletes
Witali Rott 12 years ago
parent f65f5e0597
commit 531c89a610
  1. 2
      lib/private/installer.php

@ -241,7 +241,7 @@ class OC_Installer{
if(!isset($data['href'])) { if(!isset($data['href'])) {
throw new \Exception($l->t("No href specified when installing app from http")); 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{ }else{
if(!isset($data['path'])) { if(!isset($data['path'])) {
throw new \Exception($l->t("No path specified when installing app from local file")); throw new \Exception($l->t("No path specified when installing app from local file"));

Loading…
Cancel
Save