summaryrefslogtreecommitdiff
path: root/includes/function.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-12-10 16:22:50 +0000
committerDries Buytaert <dries@buytaert.net>2000-12-10 16:22:50 +0000
commite8ea2ab88ec843905f307566a1e576f87a3d65ef (patch)
tree0f3403a09ac47ea86fa6aea4b05676ead8c24dfc /includes/function.inc
parent2a4c9cc97ba42107e55637dfc549c80c02238246 (diff)
downloadbrdo-e8ea2ab88ec843905f307566a1e576f87a3d65ef.tar.gz
brdo-e8ea2ab88ec843905f307566a1e576f87a3d65ef.tar.bz2
- large batch of updated files featuring various changes: big, small and
new stuff!
Diffstat (limited to 'includes/function.inc')
-rw-r--r--includes/function.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/function.inc b/includes/function.inc
index 8f9336603..3d4f5253f 100644
--- a/includes/function.inc
+++ b/includes/function.inc
@@ -32,6 +32,10 @@ function check_input($message) {
return strip_tags(addslashes(substr($message, 0, $submission_size)), $allowed_html);
}
+function check_code($message) {
+ return $message;
+}
+
function check_output($message, $nl2br = 0) {
global $allowed_html;
if ($nl2br == 1) return nl2br(strip_tags(stripslashes($message), $allowed_html));