Update Application.php

This commit is contained in:
Hosteroid
2025-10-29 12:49:40 +02:00
parent a0ada0b2c2
commit ae0fb3e1da

View File

@@ -28,7 +28,7 @@ class Application
if ($env === 'production') { if ($env === 'production') {
// In production, suppress deprecation warnings to prevent header issues // In production, suppress deprecation warnings to prevent header issues
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT); error_reporting(E_ALL & ~E_DEPRECATED);
ini_set('display_errors', '0'); ini_set('display_errors', '0');
} else { } else {
// In development, show all errors including deprecations // In development, show all errors including deprecations