From ebd0f99adb2a1ccc0191821916d3ebca9f723b78 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 9 Nov 2007 18:07:40 +0000 Subject: Added missing constants if taint support is not enabled --- auto_prepend.php | 7 +++++++ 1 file changed, 7 insertions(+) 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; } } -- cgit v1.2.3