diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-08-29 07:25:33 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-08-29 07:25:33 +0000 |
commit | cb5481b9b818c20c0cc8586e0fb30b8fe7ec6da8 (patch) | |
tree | d28f5d552febb85b985e4cb844281c1bc7138523 /index.php | |
parent | 733324f120d8a9a31a410ae00680167997d0d16d (diff) | |
download | www-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.php | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |