summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorUrban Müller2018-06-21 16:12:20 +0200
committerUrban Müller2018-06-21 16:12:20 +0200
commit05e7ceefa1f0a29c665381b54ac882f260ae6c22 (patch)
treed9107f13ce76a21d77e8be2670f0b2e8d96f19e7 /it_debug.class
parentc8319c784267f81e2884a076365b8ca36f4ce0b2 (diff)
downloaditools-05e7ceefa1f0a29c665381b54ac882f260ae6c22.tar.gz
itools-05e7ceefa1f0a29c665381b54ac882f260ae6c22.tar.bz2
itools-05e7ceefa1f0a29c665381b54ac882f260ae6c22.zip
use safer it:: variants of file funcs
Diffstat (limited to 'it_debug.class')
-rw-r--r--it_debug.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class
index b53a192..d2aeb04 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -62,7 +62,7 @@ static function srcline($stackoffs = 0)
$file = $stack[1 + $stackoffs]['file'];
if (!isset($GLOBALS['it_debug::dump source'][$file]))
- $GLOBALS['it_debug::dump source'][$file] = @file($file);
+ $GLOBALS['it_debug::dump source'][$file] = @it::file($file);
return $GLOBALS['it_debug::dump source'][$file][$line-1];
}