From 2e32e77ee60b599413903b3fbb7a4710b226dbfa Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 10 Aug 2015 16:49:13 +0200 Subject: no longer need to correct buggy php line numbers --- it_debug.class | 3 --- 1 file changed, 3 deletions(-) (limited to 'it_debug.class') 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']; -- cgit v1.2.3