aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-08-29 07:25:33 +0000
committerRomain d'Alverny <rda@mageia.org>2012-08-29 07:25:33 +0000
commitcb5481b9b818c20c0cc8586e0fb30b8fe7ec6da8 (patch)
treed28f5d552febb85b985e4cb844281c1bc7138523 /index.php
parent733324f120d8a9a31a410ae00680167997d0d16d (diff)
downloadwww-cb5481b9b818c20c0cc8586e0fb30b8fe7ec6da8.tar
www-cb5481b9b818c20c0cc8586e0fb30b8fe7ec6da8.tar.gz
www-cb5481b9b818c20c0cc8586e0fb30b8fe7ec6da8.tar.bz2
www-cb5481b9b818c20c0cc8586e0fb30b8fe7ec6da8.tar.xz
www-cb5481b9b818c20c0cc8586e0fb30b8fe7ec6da8.zip
temp fix
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