Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
all: logs to a specific file for debugging
bootstrap.php | 3 +++
diff --git a/bootstrap.php b/bootstrap.php index 46cf5b0b92d7fddfb30c0a0cf814f359eaeb4dfc..7771013f2b6b463f8a6610b3f70ec98205bbcb16 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -4,6 +4,9 @@ ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); +ini_set('log_errors', 1); +ini_set('error_log', 'error_log.txt'); + session_start(); require_once 'config/database.php';