This commit is contained in:
2025-12-27 02:58:51 +01:00
parent 3a86863d42
commit b88b000637

View File

@@ -6,7 +6,8 @@ if (!defined('APP_DEBUG') || APP_DEBUG !== true) {
exit;
}
$base = dirname(__DIR__, 1) . '/debug';
// debug files are stored in project root /debug (one level above /public)
$base = dirname(__DIR__, 2) . '/debug';
$files = [];
if (is_dir($base)) {
foreach (scandir($base) as $f) {