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


Ignore:
Timestamp:
07/02/08 11:28:11 (4 years ago)
Author:
hverton
Message:

fixed referring to iSUPERADMIN before it was defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/user_functions.php

    r1473 r1503  
    2424    header("Location: http://en.wikipedia.org/wiki/IP_blocking"); exit; 
    2525} 
    26 // get the country code for this user, override the country code for webmasters if needed 
    27 define('USER_CC', (iSUPERADMIN && $settings['hide_webmaster']) ? $settings['country'] : GeoIP_IP2Code(USER_IP, true)); 
    2826 
    2927// Set the users site_visited cookie if this is the first visit, and update the unique visit counter 
     
    207205} 
    208206 
     207// get the country code for this user, override the country code for webmasters if needed 
     208define('USER_CC', (iSUPERADMIN && $settings['hide_webmaster']) ? $settings['country'] : GeoIP_IP2Code(USER_IP, true)); 
     209 
    209210// if logged in, update the users lastvisit time and country 
    210211if (iMEMBER) { 
Note: See TracChangeset for help on using the changeset viewer.