aboutsummaryrefslogtreecommitdiff
path: root/aud/index.php
diff options
context:
space:
mode:
authorAda Isopods <me@bathynomus.xyz>2026-10-23 15:51:10 -0600
committerAda Isopods <me@bathynomus.xyz>2026-10-23 15:51:10 -0600
commite63a26f2320617d771869c68042472cc427ff931 (patch)
tree89481af7274cb447bc55b29c0e736c5f1b58a6dc /aud/index.php
parent86b0942b5ad79f656021d66f02bf3ac7dfd7ad39 (diff)
troubleshooting
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) {