summaryrefslogtreecommitdiff
path: root/attentionbar.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-04-29 18:33:03 +0200
committerczaks <marcin@6irc.net>2014-04-29 18:33:03 +0200
commitd208789fa716b1955e70b9f771f0cc6d0f25eca3 (patch)
tree2b65864fc2e44dbc0525b6e457e95c23ba5d6385 /attentionbar.php
parent613c64c97d3fbcfcf94d21741a9842cc42348398 (diff)
remove attentionbar. its code is shit and it doesn't belong here tbh.
Diffstat (limited to 'attentionbar.php')
-rw-r--r--attentionbar.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/attentionbar.php b/attentionbar.php
deleted file mode 100644
index 25f349cb..00000000
--- a/attentionbar.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
- require_once 'inc/functions.php';
- checkBan();
- $text = isset($_POST['text']) ? $_POST['text'] : '';
- if(strlen($text)>0 && !preg_match('/a href/', $text)) {
- file_put_contents("attentionbar.txt",htmlspecialchars($text));
- if(strlen($_SERVER['HTTP_REFERER'])>0) { header('Location: ' . $_SERVER['HTTP_REFERER']); }
- else { header('Location: /'); }
- } else print(file_get_contents("attentionbar.txt"));
- return;
-?>