diff --git a/config/site/download.php b/config/site/download.php index 91d058217a..4526876b19 100755 --- a/config/site/download.php +++ b/config/site/download.php @@ -75,9 +75,10 @@ function update_count_of_downloads($file) { die(1); } $file = $_GET['file']; - if(!isset($_SERVER['HTTP_RANGE']) ) { - update_count_of_downloads($file) ; - } + //Victor says not needed if we have awstats statistics per file + //if(!isset($_SERVER['HTTP_RANGE']) ) { + // update_count_of_downloads($file) ; + //} set_time_limit(0); if(isset($_GET['direct']) or !url_exists('http://osmand.googlecode.com/files/'.$file)) { downloadFile('indexes/'.$file);