diff options
author | Urban Müller | 2015-08-10 16:49:13 +0200 |
---|---|---|
committer | Urban Müller | 2015-08-10 16:49:13 +0200 |
commit | 2e32e77ee60b599413903b3fbb7a4710b226dbfa (patch) | |
tree | ff65fec3344aeb51f3e9cf3417dcd1c569d0f2d8 | |
parent | b26fcf8a18d32a49728516d4cdcb41c4f2ae8c93 (diff) | |
download | itools-2e32e77ee60b599413903b3fbb7a4710b226dbfa.tar.gz itools-2e32e77ee60b599413903b3fbb7a4710b226dbfa.tar.bz2 itools-2e32e77ee60b599413903b3fbb7a4710b226dbfa.zip |
no longer need to correct buggy php line numbers
-rw-r--r-- | it_debug.class | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/it_debug.class b/it_debug.class index 6aab9eb..6a4c387 100644 --- a/it_debug.class +++ b/it_debug.class @@ -178,9 +178,6 @@ static function backtrace($p = array()) { if (($fn = $call['file']) && !it::match($p['skipfiles'], $call['file'])) { - if (!it::match('\.class|\.html', $call['file']) && @file_get_contents($call['file'], null, null, 0, 2) == "#!") - $call['line']++; # fix bug in php error line reporting - $fn = (it::match('auto_prepend', $fn) ? basename(dirname(dirname($fn))) . "/" : "") . basename($fn); $result[] = $fn . ":" . $call['line']; |