diff options
-rw-r--r-- | it_debug.class | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/it_debug.class b/it_debug.class index 9cafd3b..95a414a 100644 --- a/it_debug.class +++ b/it_debug.class @@ -66,9 +66,6 @@ function srcline($stackoffs = 0) if (!isset($GLOBALS['it_debug::dump source'][$file])) $GLOBALS['it_debug::dump source'][$file] = file($file); - if (!$_SERVER['REMOTE_ADDR'] && substr($GLOBALS['it_debug::dump source'][$file][0], 0, 2) == "#!") - $line++; - return $GLOBALS['it_debug::dump source'][$file][$line-1]; } @@ -100,6 +97,7 @@ function dump($args) $paramtokens = token_get_all("<?php $paramlist"); array_shift($paramtokens); $param = ""; + $argnames = array(); foreach ($paramtokens as $token) { if ($token == "(") |