summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorChristian Schneider2008-02-28 15:25:08 +0000
committerChristian Schneider2008-02-28 15:25:08 +0000
commit3b1a369795c72ee0d42fdeaa1c71cd97a3685954 (patch)
tree5659a1424760cefe9eb531b72c5e9c2a380a66dd /it.class
parentec3e1ea1ef5bad7208eae3da037264bf4d592186 (diff)
downloaditools-3b1a369795c72ee0d42fdeaa1c71cd97a3685954.tar.gz
itools-3b1a369795c72ee0d42fdeaa1c71cd97a3685954.tar.bz2
itools-3b1a369795c72ee0d42fdeaa1c71cd97a3685954.zip
Globally untaint ULTRAHOME as it is generated in a safe way
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 2a6fe35..083ca51 100644
--- a/it.class
+++ b/it.class
@@ -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 = it_untaint($GLOBALS['ULTRAHOME'], TC_SELF) . "/log/$name-" . date('Ymd');
+ $fn = $GLOBALS['ULTRAHOME'] . "/log/$name-" . date('Ymd');
$existed = file_exists($fn);