Changeset 1885 in ExiteCMS for trunk/includes/user_functions.php


Ignore:
Timestamp:
10/20/08 00:59:18 (4 years ago)
Author:
hverton
Message:

removed the v7.1 batch upgrade module. Not needed for v7.2
fixed lots of small issues that surfaced while testing installation and upgrades of v7.2
several small layout and consistency fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/user_functions.php

    r1858 r1885  
    2121$sub_ip1 = substr(USER_IP,0,strlen(USER_IP)-strlen(strrchr(USER_IP,"."))); 
    2222$sub_ip2 = substr($sub_ip1,0,strlen($sub_ip1)-strlen(strrchr($sub_ip1,"."))); 
    23 if (dbcount("(*)", "blacklist", "blacklist_ip='".USER_IP."' OR blacklist_ip='$sub_ip1' OR blacklist_ip='$sub_ip2'")) { 
    24     header("Location: http://en.wikipedia.org/wiki/IP_blocking"); exit; 
     23if (FUSION_SELF != "setuser.php" && dbcount("(*)", "blacklist", "blacklist_ip='".USER_IP."' OR blacklist_ip='$sub_ip1' OR blacklist_ip='$sub_ip2'")) { 
     24    redirect(BASEDIR."setuser.php?error=6"); 
     25    exit; 
    2526} 
    2627 
Note: See TracChangeset for help on using the changeset viewer.