PluginProbe
Loginizer / 1.3.7
Loginizer v1.3.7
2.1.0 2.0.9 2.0.8 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 All 74 releases
loginizer / loginizer.php

loginizer.php in Loginizer 1.3.7, at loginizer.php

55 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package loginizer
4 * @version 1.3.7
5 */
6 /*
7 Plugin Name: Loginizer
8 Plugin URI: http://wordpress.org/extend/plugins/loginizer/
9 Description: Loginizer is a WordPress plugin which helps you fight against bruteforce attack by blocking login for the IP after it reaches maximum retries allowed. You can blacklist or whitelist IPs for login using Loginizer.
10 Version: 1.3.7
11 Author: Raj Kothari
12 Author URI: http://www.loginizer.com
13 License: GPLv3 or later
14 */
15
16 /*
17 Copyright (C) 2013 Raj Kothari (email : support@loginizer.com)
18 This program is free software: you can redistribute it and/or modify
19 it under the terms of the GNU General Public License as published by
20 the Free Software Foundation, either version 3 of the License, or
21 (at your option) any later version.
22
23 This program is distributed in the hope that it will be useful,
24 but WITHOUT ANY WARRANTY; without even the implied warranty of
25 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 GNU General Public License for more details.
27
28 You should have received a copy of the GNU General Public License
29 along with this program. If not, see <http://www.gnu.org/licenses/>.
30 */
31
32 if(!function_exists('add_action')){
33 echo 'You are not allowed to access this page directly.';
34 exit;
35 }
36
37 $_ltmp_plugins = get_option('active_plugins');
38
39 // Is the premium plugin loaded ?
40 if(in_array('loginizer-security/loginizer-security.php', $_ltmp_plugins)){
41 return;
42 }
43
44 // Is the premium plugin active ?
45 if(defined('LOGINIZER_VERSION')){
46 return;
47 }
48
49 $plugin_loginizer = plugin_basename(__FILE__);
50 define('LOGINIZER_FILE', __FILE__);
51 define('LOGINIZER_API', 'http://api.loginizer.com/');
52
53 include_once(dirname(__FILE__).'/init.php');
54
55