fix: ignore php warnings and improve js error handling for uploads

This commit is contained in:
2026-07-05 10:45:03 +02:00
parent 0ef16ac06d
commit 7ff01ea431
2 changed files with 16 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
<?php
error_reporting(0);
header('Content-Type: application/json');
// Check if request is POST