diff options
author | Christian Schneider | 2015-06-04 13:59:17 +0200 |
---|---|---|
committer | Christian Schneider | 2015-06-04 13:59:17 +0200 |
commit | f7eddb5da51cfd4171323354e4eb86c8d22555cd (patch) | |
tree | c21dda13233313ee9fba99269992a75ab3540926 /it_debug.class | |
parent | ecd7d85c89b62fa0f51584b255ab6e246c804613 (diff) | |
download | itools-f7eddb5da51cfd4171323354e4eb86c8d22555cd.tar.gz itools-f7eddb5da51cfd4171323354e4eb86c8d22555cd.tar.bz2 itools-f7eddb5da51cfd4171323354e4eb86c8d22555cd.zip |
PHP starting with 5.6.8 does not need line number hack any more
Diffstat (limited to 'it_debug.class')
-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 b6c6d41..694d08a 100644 --- a/it_debug.class +++ b/it_debug.class @@ -64,9 +64,6 @@ static function srcline($stackoffs = 0) if (!isset($GLOBALS['it_debug::dump source'][$file])) $GLOBALS['it_debug::dump source'][$file] = file($file); - if (preg_match('/^#!/', $GLOBALS['it_debug::dump source'][$file][0])) - $line++; - return $GLOBALS['it_debug::dump source'][$file][$line-1]; } |