Changeset 1503 in ExiteCMS for trunk/includes/user_functions.php
- Timestamp:
- 07/02/08 11:28:11 (4 years ago)
- File:
-
- 1 edited
-
trunk/includes/user_functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/user_functions.php
r1473 r1503 24 24 header("Location: http://en.wikipedia.org/wiki/IP_blocking"); exit; 25 25 } 26 // get the country code for this user, override the country code for webmasters if needed27 define('USER_CC', (iSUPERADMIN && $settings['hide_webmaster']) ? $settings['country'] : GeoIP_IP2Code(USER_IP, true));28 26 29 27 // Set the users site_visited cookie if this is the first visit, and update the unique visit counter … … 207 205 } 208 206 207 // get the country code for this user, override the country code for webmasters if needed 208 define('USER_CC', (iSUPERADMIN && $settings['hide_webmaster']) ? $settings['country'] : GeoIP_IP2Code(USER_IP, true)); 209 209 210 // if logged in, update the users lastvisit time and country 210 211 if (iMEMBER) {
Note: See TracChangeset
for help on using the changeset viewer.
