diff --git a/models/ErrorHandler.php b/models/ErrorHandler.php index 8e55c57..4ce560a 100644 --- a/models/ErrorHandler.php +++ b/models/ErrorHandler.php @@ -63,11 +63,11 @@ class ErrorHandler // Include info on the contents of superglobals. if (!empty($_SESSION)) - $debug_info .= "\nSESSION: " . print_r($_SESSION, true); + $debug_info .= "\nSESSION: " . var_export($_SESSION, true); if (!empty($_POST)) - $debug_info .= "\nPOST: " . print_r($_POST, true); + $debug_info .= "\nPOST: " . var_export($_POST, true); if (!empty($_GET)) - $debug_info .= "\nGET: " . print_r($_GET, true); + $debug_info .= "\nGET: " . var_export($_GET, true); return $debug_info; }