diff options
-rw-r--r-- | en/index.php | 2 | ||||
-rw-r--r-- | index.php | 2 | ||||
-rw-r--r-- | redir.php | 17 |
3 files changed, 0 insertions, 21 deletions
diff --git a/en/index.php b/en/index.php index 4f1b84742..a6ff50ec8 100644 --- a/en/index.php +++ b/en/index.php @@ -2,8 +2,6 @@ /** */ -require '../redir.php'; - define('HLANG', true); require '../langs.php'; @@ -3,8 +3,6 @@ * */ -require 'redir.php'; - require_once 'langs.inc.php'; // NOTE, this should go to the main controller in the next platform diff --git a/redir.php b/redir.php deleted file mode 100644 index 43603e0f8..000000000 --- a/redir.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -// temporary poor fix for bad queries -// if (isset($_GET['id']) && isset($_GET['msg'])) { -if (false !== strpos($_SERVER['QUERY_STRING'], 'Tenemos') - || false !== strpos($_SERVER['HTTP_REFERER'], 'blogdeklx1') -) { - if (rand(0, 2) == 1) { - header('HTTP/1.1 503 Service Temporarily Unavailable'); - header('Status: 503 Service Temporarily Unavailable'); - header('Retry-After: 7200'); - } else { - header('HTTP/1.0 404 Not Found'); - header('Status: 404 Not Found'); - } - die; -}
\ No newline at end of file |