|
@@ -148,9 +148,9 @@ discard block |
|
|
block discarded – undo |
|
148
|
148
|
$_file = $exception->getFile(); |
|
149
|
149
|
$_line = $exception->getLine(); |
|
150
|
150
|
} elseif (is_string($exception)) { |
|
151
|
|
- $_message = 'exception string: ' . $exception; |
|
|
151
|
+ $_message = 'exception string: '.$exception; |
|
152
|
152
|
} elseif (is_array($exception)) { |
|
153
|
|
- $_message = isset($exception['message']) ? $exception['message'] : 'exception array dump: ' . print_r($exception, true); |
|
|
153
|
+ $_message = isset($exception['message']) ? $exception['message'] : 'exception array dump: '.print_r($exception, true); |
|
154
|
154
|
$_file = isset($exception['file']) ? $exception['file'] : __FILE__; |
|
155
|
155
|
$_line = isset($exception['line']) ? $exception['line'] : __LINE__; |
|
156
|
156
|
} |
|
@@ -215,7 +215,7 @@ discard block |
|
|
block discarded – undo |
|
215
|
215
|
|
|
216
|
216
|
if (!empty($file)) { |
|
217
|
217
|
try { |
|
218
|
|
- $lineInArray = $line -1; |
|
|
218
|
+ $lineInArray = $line - 1; |
|
219
|
219
|
// load file from path |
|
220
|
220
|
$fileInfo = file($file, FILE_IGNORE_NEW_LINES); |
|
221
|
221
|
// load file if false from real path |
Please login to merge, or discard this patch.