diff options
author | Christian Schneider | 2008-02-26 14:21:02 +0000 |
---|---|---|
committer | Christian Schneider | 2008-02-26 14:21:02 +0000 |
commit | ec3e1ea1ef5bad7208eae3da037264bf4d592186 (patch) | |
tree | ef44f89b0dc6a7b5c48e468285eb7f8b2c9082a9 /it.class | |
parent | ef0dbf2020a6e2f9b52d82119c8d29e57d37b1db (diff) | |
download | itools-ec3e1ea1ef5bad7208eae3da037264bf4d592186.tar.gz itools-ec3e1ea1ef5bad7208eae3da037264bf4d592186.tar.bz2 itools-ec3e1ea1ef5bad7208eae3da037264bf4d592186.zip |
Silence taint warning when writing log files (ULTRAHOME is safe)
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,7 @@ function log($name /* ... */) { $args = func_get_args(); $line = date("Y-m-d H:i:s") . "\t" . implode("\t", array_slice($args, 1)) . "\n"; - $fn = $GLOBALS['ULTRAHOME'] . "/log/$name-" . date('Ymd'); + $fn = it_untaint($GLOBALS['ULTRAHOME'], TC_SELF) . "/log/$name-" . date('Ymd'); $existed = file_exists($fn); |