diff options
Diffstat (limited to 'application/views/errors')
-rw-r--r-- | application/views/errors/cli/error_exception.php | 6 | ||||
-rw-r--r-- | application/views/errors/cli/error_php.php | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/application/views/errors/cli/error_exception.php b/application/views/errors/cli/error_exception.php index 0203cf467..f7097c762 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"; ?> +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"; ?> +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..b3af731aa 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 ?> |