summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2012-12-06 13:38:22 +0000
committerUrban Müller2012-12-06 13:38:22 +0000
commit899ca336a73fcb227630a0c3ebb25718c257888a (patch)
tree2048c75bd586a3b69f74154132711875a41a67e9
parentf6161a1670a419d14f4000863cabeaa26ee1638a (diff)
downloaditools-899ca336a73fcb227630a0c3ebb25718c257888a.tar.gz
itools-899ca336a73fcb227630a0c3ebb25718c257888a.tar.bz2
itools-899ca336a73fcb227630a0c3ebb25718c257888a.zip
add $_FILES if present
-rw-r--r--it.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/it.class b/it.class
index 9463d41..3aa03d6 100644
--- a/it.class
+++ b/it.class
@@ -218,6 +218,7 @@ static function error($p = array(), $body = null, $to = null) # $body and $to de
$body .= $_POST ? "\$_POST: " . var_export($_POST, true) . "\n\n" : "";
$body .= $_COOKIE ? "\$_COOKIE: " . var_export($_COOKIE, true) . "\n\n" : "";
$body .= $_SERVER ? "\$_SERVER: " . var_export($_SERVER, true) . "\n\n" : "";
+ $body .= $_FILES ? "\$_FILES: " . var_export($_FILES, true) . "\n\n" : "";
$body .= $stackframes ? "Stack: " . print_r($stackframes, true) . "\n\n" : "";
$body = it::replace(array('(pw|passw|password|secret)\] => .*' => '$1] => ********'), $body, array('utf8' => false));
}