summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorChristian Schneider2015-08-12 15:27:39 +0200
committerChristian Schneider2015-08-12 15:27:39 +0200
commit1c0a580ec4de036530b08a83d5ddc2d915bdfd0b (patch)
treeda17deffd92927957246b5f3cb13393c853f0446 /it_debug.class
parent0bb7f6148acb2a4a4d2caaa83c9ffa5b27aa8e1c (diff)
parent79d5a50477ed74940484a5ca046dfa04adce1550 (diff)
downloaditools-1c0a580ec4de036530b08a83d5ddc2d915bdfd0b.tar.gz
itools-1c0a580ec4de036530b08a83d5ddc2d915bdfd0b.tar.bz2
itools-1c0a580ec4de036530b08a83d5ddc2d915bdfd0b.zip
Merge branch 'master' into cs/php7
Diffstat (limited to 'it_debug.class')
-rw-r--r--it_debug.class3
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'];