aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/index.php b/index.php
index 750ce878d..38104d239 100644
--- a/index.php
+++ b/index.php
@@ -3,6 +3,19 @@
*
*/
+// temporary poor fix for bad queries
+// if (isset($_GET['id']) && isset($_GET['msg'])) {
+if (false !== strpos($_SERVER['QUERY_STRING'], 'Tenemos')) {
+ header('HTTP/1.1 503 Service Temporarily Unavailable');
+ header('Status: 503 Service Temporarily Unavailable');
+ header('Retry-After: 7200');
+ /*
+ header('HTTP/1.0 404 Not Found');
+ header('Status: 404 Not Found');
+ */
+ die;
+}
+
require_once 'langs.inc.php';
// NOTE, this should go to the main controller in the next platform