summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2012-03-25 17:18:01 +0200
committerChristoph Brill <egore911@egore911.de>2012-03-26 00:30:21 +0200
commit90f356f29dd05ac709e7b1babc70c84beb2c0b64 (patch)
tree3c4f53a3208ecf53087615202b29d4f998975ef5 /index.php
parent180768e945b05d5224cf693f56e53271908914db (diff)
show newest files first
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index c97e256..5c87782 100644
--- a/index.php
+++ b/index.php
@@ -170,7 +170,7 @@ if (!isset($date)) {
$files[] = $file;
}
closedir($handle);
- sort($files);
+ rsort($files);
$last_month = '';
$month_counter = 0;