diff options
Diffstat (limited to 'lib/Downloads.php')
-rw-r--r-- | lib/Downloads.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Downloads.php b/lib/Downloads.php index 534cd5e0f..a44404ea0 100644 --- a/lib/Downloads.php +++ b/lib/Downloads.php @@ -125,7 +125,10 @@ class Downloads ); $torrent =$item['url'].'/iso/3/torrents/Mageia-3-LiveDVD-KDE4-x86_64-DVD.torrent' ; - if (file_exists($torrent)){ + if (false === file_get_contents($torrent)){ + echo "down $torrent \n"; + } else { + echo "Up $torrent \n"; $mirrors[$m['country']][] = $item; $mirrors['_C:' . $m['continent']][] = $item; |