diff options
author | xue <> | 2006-04-29 12:58:06 +0000 |
---|---|---|
committer | xue <> | 2006-04-29 12:58:06 +0000 |
commit | 3281c0a025a645ee79bf01eac142163ec9357690 (patch) | |
tree | bf26b8533d8894b216f7b7a00a426f7ab529fb3c /framework/Exceptions/TErrorHandler.php | |
parent | b97d6a698d80d946e3669595e8d87f0c378b3520 (diff) |
Added THttpResponse::reload().
Diffstat (limited to 'framework/Exceptions/TErrorHandler.php')
-rw-r--r-- | framework/Exceptions/TErrorHandler.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php index 4b42491e..25f421e3 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -214,10 +214,10 @@ class TErrorHandler extends TModule // if PHP exception, we want to show the 2nd stack level context
// because the 1st stack level is of little use (it's in error handler)
$trace=$exception->getTrace();
- if(isset($trace[0]) && isset($trace[0]['file']) && isset($trace[0]['line']))
+ if(isset($trace[1]) && isset($trace[1]['file']) && isset($trace[1]['line']))
{
- $fileName=$trace[0]['file'];
- $errorLine=$trace[0]['line'];
+ $fileName=$trace[1]['file'];
+ $errorLine=$trace[1]['line'];
}
}
$lines=file($fileName);
|