Sort backups newest to oldest (#2624)

Viewing the backup list produces a seemingly random list.

This PR sorts the files newest to oldest.
This commit is contained in:
tiagom62 2016-09-17 03:00:39 -04:00 committed by snipe
parent 8233d520c6
commit 46507c929a

View file

@ -482,7 +482,7 @@ class SettingsController extends Controller
} }
closedir($handle); closedir($handle);
$files = array_reverse($files); rsort($files)
} }