now shows fatal error message (if possible)

This commit is contained in:
2015-09-20 19:48:36 +02:00
parent 16cd163cb8
commit 551a10bbf5
3 changed files with 216 additions and 196 deletions
+12 -2
View File
@@ -1,6 +1,16 @@
<?php
ini_set('log_errors', 0);
ini_set('display_errors', 1);
/**
* PHP Sandbox: https://github.com/MightyPork/php-sandbox
*/
ini_set('log_errors', false);
ini_set('display_errors', true);
ini_set('display_startup_errors', true);
ini_set('display_not_found_reason', true);
ini_set('display_exceptions', true);
ini_set('html_errors', false);
error_reporting(E_ALL | E_STRICT);
// --- Handle config ---