-
Notifications
You must be signed in to change notification settings - Fork 8
/
ips.php
61 lines (45 loc) · 2.17 KB
/
ips.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
/*=======================================================================
Nuke-Evolution Basic: Enhanced PHP-Nuke Web Portal System
=======================================================================*/
/************************************************************************
Nuke-Evolution: Advanced Content Management System
============================================
Copyright (c) 2005 by The Nuke-Evolution Team
Filename : ips.php
Author : Technocrat (www.nuke-evolution.com)
Version : 1.1.0
Date : 11/21/2005 (dd-mm-yyyy)
Notes : Should contain the IPs for the admin ip lock & user lock
************************************************************************/
if (realpath(__FILE__) == realpath($_SERVER['SCRIPT_FILENAME'])) {
exit('Access Denied');
}
global $ips, $users_ips;
/*****[BEGIN]******************************************
[ Mod: Admin IP Lock v2.1.0 ]
******************************************************/
// IPs that are used to allowed access to admin.php and forum admin; all others will be denied
// Seperate all IPs by a comma.
// ex: $ips = array('127.0.0.1', '192.168.1.1');
/*=====
For more information on how to use this please see the help file in the help/features folder
=====*/
//$ips = array('xxx.xxx.xxx.xxx');
/*****[END]********************************************
[ Mod: Admin IP Lock v2.1.0 ]
******************************************************/
/*****[BEGIN]******************************************
[ Mod: User IP Lock v1.0.0 ]
******************************************************/
// IPs that are allowed to login to the specified user accounts
// Seperate all IPs by a comma inside the second ''.
// ex: $users_ips = array('Technocrat', '127.0.0.1,192.168.1.1');
/*=====
For more information on how to use this please see the help file in the help/features folder
=====*/
//$users_ips = array('name', 'xxx.xxx.xxx.xxx');
/*****[END]********************************************
[ Mod: User IP Lock v1.0.0 ]
******************************************************/
?>