diff options
Diffstat (limited to 'apps/web/views/errors/cli/error_php.php')
-rw-r--r-- | apps/web/views/errors/cli/error_php.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/views/errors/cli/error_php.php b/apps/web/views/errors/cli/error_php.php index fec91e5..7982db9 100644 --- a/apps/web/views/errors/cli/error_php.php +++ b/apps/web/views/errors/cli/error_php.php @@ -13,7 +13,7 @@ Line Number: <?php echo $line;?> Backtrace: <?php foreach (debug_backtrace() as $error): ?> - <?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?> + <?php if (isset($error['file']) && @strpos($error['file'], realpath(BASEPATH)) !== 0): ?> File: <?php echo $error['file'];?> Line: <?php echo $error['line'];?> @@ -22,4 +22,4 @@ Backtrace: <?php endif ?> <?php endforeach ?> -<?php endif ?>
\ No newline at end of file +<?php endif ?> |