summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index f6ae0db23..949a768f4 100644
--- a/index.php
+++ b/index.php
@@ -12,7 +12,7 @@
<?php
$DOWNLOAD_DIR = 'downloads';
-$versions = array_filter(scandir($DOWNLOAD_DIR), function($v) {return $v{0} != '.';});
+$versions = array_filter(scandir($DOWNLOAD_DIR), function($v) {return (($v{0} != '.') && ($v != 'latest'));});
sort($versions);
$latest = end($versions);