diff options
Diffstat (limited to 'debug.class')
-rw-r--r-- | debug.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debug.class b/debug.class index 1be631b..956b0d0 100644 --- a/debug.class +++ b/debug.class @@ -108,8 +108,8 @@ function dump() $line = $stack[2]['line']; $file = $stack[2]['file']; - if (!$_SERVER['REMOTE_ADDR'] && preg_match('/class/', $file)) - $line--; + if (!$_SERVER['REMOTE_ADDR'] && !preg_match('/class/', $file)) + $line++; if (ereg('(csv|txt|gif|jpg)', $_SERVER['PHP_SELF']) || !ereg('Mozilla', $_SERVER['HTTP_USER_AGENT'])) $plain = 1; |