Skip to content

Commit

Permalink
Fix problem with some anime
Browse files Browse the repository at this point in the history
  • Loading branch information
smad2005 committed Nov 17, 2016
1 parent 325903e commit faf379c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libs/library.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,12 @@ function get_basename($filename) {

function downloadString($url) {
$exec = "curl -s -k -L \"$url\"";
return exec($exec);
return `$exec`;
}

function downloadFile($filePath, $url) {
$exec = "curl -s -k -L -o \"$filePath\" \"$url\"";
exec($exec);
`$exec`;
}

function fixUrl($url) {
Expand Down

0 comments on commit faf379c

Please sign in to comment.