diff options
-rw-r--r-- | application/views/errors/cli/error_exception.php | 8 | ||||
-rw-r--r-- | application/views/errors/cli/error_php.php | 14 |
2 files changed, 11 insertions, 11 deletions
diff --git a/application/views/errors/cli/error_exception.php b/application/views/errors/cli/error_exception.php index 0203cf467..efa6a66d1 100644 --- a/application/views/errors/cli/error_exception.php +++ b/application/views/errors/cli/error_exception.php @@ -2,10 +2,10 @@ An uncaught Exception was encountered -Type: <?php echo get_class($exception), "\n"; ?> -Message: <?php echo $message, "\n"; ?> -Filename: <?php echo $exception->getFile(), "\n"; ?> -Line Number: <?php echo $exception->getLine(), "\n"; ?> +Type: <?php echo get_class($exception), "\n"; ?> +Message: <?php echo $message, "\n"; ?> +Filename: <?php echo $exception->getFile(), "\n"; ?> +Line Number: <?php echo $exception->getLine(); ?> <?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?> diff --git a/application/views/errors/cli/error_php.php b/application/views/errors/cli/error_php.php index 0ea9109fa..8a24b6491 100644 --- a/application/views/errors/cli/error_php.php +++ b/application/views/errors/cli/error_php.php @@ -2,19 +2,19 @@ A PHP Error was encountered -Severity: <?php echo $severity, "\n";?> -Message: <?php echo $message, "\n";?> -Filename: <?php echo $filepath, "\n";?> -Line Number: <?php echo $line;?> +Severity: <?php echo $severity, "\n"; ?> +Message: <?php echo $message, "\n"; ?> +Filename: <?php echo $filepath, "\n"; ?> +Line Number: <?php echo $line; ?> <?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?> Backtrace: <?php foreach (debug_backtrace() as $error): ?> <?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?> - File: <?php echo $error['file'], "\n";?> - Line: <?php echo $error['line'], "\n";?> - Function: <?php echo $error['function'], "\n\n";?> + File: <?php echo $error['file'], "\n"; ?> + Line: <?php echo $error['line'], "\n"; ?> + Function: <?php echo $error['function'], "\n\n"; ?> <?php endif ?> <?php endforeach ?> |