This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
// force-debug.php
|
||||
// This script is prepended to all PHP requests to force error reporting.
|
||||
|
||||
// Set error reporting to the highest level.
|
||||
error_reporting(E_ALL);
|
||||
|
||||
// Ensure errors are displayed directly in the browser.
|
||||
// This overrides any ini_set('display_errors', 'Off') in the application.
|
||||
ini_set('display_errors', '1');
|
||||
|
||||
// Also ensure errors are logged.
|
||||
ini_set('log_errors', '1');
|
||||
?>
|
||||
Reference in New Issue
Block a user