From b45730e1d9cf1f8a7d860db8fcdd52925f2e9665 Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Tue, 21 Oct 2014 19:20:55 +1100 Subject: [PATCH] Fixes issue where XDebug aborts the thread for maximum function count. --- bootstrap/start.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bootstrap/start.php b/bootstrap/start.php index b26e4d01a..077053b6d 100644 --- a/bootstrap/start.php +++ b/bootstrap/start.php @@ -72,6 +72,13 @@ if (!isset($unitTesting) || !$unitTesting) { header('Pragma: no-cache'); } +/* +|-------------------------------------------------------------------------- +| Fix for XDebug aborting threads > 100 nested +|-------------------------------------------------------------------------- +*/ +ini_set('xdebug.max_nesting_level', 300); + /* |-------------------------------------------------------------------------- | Return The Application