Skip to content
Snippets Groups Projects
Commit 12e0da1a authored by pbarroca's avatar pbarroca
Browse files

OPDS: correction download lors de l'import

parent 4b6f1b4e
Branches
Tags
No related merge requests found
......@@ -148,7 +148,7 @@ class OPDSEntryDownloader {
public function downloadFromUrlToDisk($url, $path) {
if (!$this->_ensureDirectory(dirname($path)))
return false;
return file_put_contents($path, $url);
return copy($url, $path);
}
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment