diff options
-rw-r--r-- | index.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -95,6 +95,9 @@ $nameurl = "?C=N;O=A"; $modifiedurl = "?C=M;O=A"; $sizeurl = "?C=S;O=A"; +// Set default sort +$sort = ['S', 'A']; + if (isset($_GET['C'])) { $sort = preg_split("/;O=/", $_GET['C']); if ($_GET['C'] == "N;O=A") { |