summaryrefslogtreecommitdiff
path: root/auto_prepend.php
diff options
context:
space:
mode:
authorChristian Schneider2007-11-09 18:07:40 +0000
committerChristian Schneider2007-11-09 18:07:40 +0000
commitebd0f99adb2a1ccc0191821916d3ebca9f723b78 (patch)
tree3e810d535c1a7bc9ab9f1554c4ba9e99f15eeacb /auto_prepend.php
parentcaa3b7a299b119cf7891ea6f4f7bf3a5ba470b6e (diff)
downloaditools-ebd0f99adb2a1ccc0191821916d3ebca9f723b78.tar.gz
itools-ebd0f99adb2a1ccc0191821916d3ebca9f723b78.tar.bz2
itools-ebd0f99adb2a1ccc0191821916d3ebca9f723b78.zip
Added missing constants if taint support is not enabled
Diffstat (limited to 'auto_prepend.php')
-rw-r--r--auto_prepend.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/auto_prepend.php b/auto_prepend.php
index 1428678..2d49b33 100644
--- a/auto_prepend.php
+++ b/auto_prepend.php
@@ -159,6 +159,13 @@ if (function_exists("taint"))
}
else
{
+ defined('TC_HTML', 0);
+ defined('TC_SHELL', 0);
+ defined('TC_MYSQL', 0);
+ defined('TC_MYSQLI', 0);
+ defined('TC_SELF', 0);
+ defined('TC_ALL', 0);
+ defined('TC_NONE', 0);
function it_untaint(&$value, $marks = 0) { return $value; }
function it_taintcheck(&$value, $marks = 0) { return $value; }
}