aboutsummaryrefslogtreecommitdiff
path: root/aud/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'aud/index.php')
-rwxr-xr-xaud/index.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/aud/index.php b/aud/index.php
index 4584166..bfcef6e 100755
--- a/aud/index.php
+++ b/aud/index.php
@@ -5,7 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>/log/aud</title>
<link href="../style.css" rel="stylesheet" type="text/css" media="all">
- <?php include("../seasonal.php"); ?>
+ <?php
+ include("../seasonal.php");
+
+ ini_set('display_errors', 1);
+ ini_set('display_startup_errors', 1);
+ error_reporting(E_ALL);
+ ?>
<style>
article {
display: flex;
@@ -40,7 +46,7 @@
$files = array_filter(scandir("../../data/deeptwisty/aud"), "test_audio");
usort($files, function($a, $b) { // Sort files by modification date of the files
- return filectime("$b") - filectime("$a");
+ return filemtime("$b") - filemtime("$a");
});
foreach($files as $fi) {