[ Index ]

PHP Cross Reference of Nuke-Evolution v2.0.5

title

Body

[close]

/ -> ips.php (source)

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


Generated: Wed Jun 6 11:38:01 2007 Cross-referenced by PHPXref 0.7