Changeset 39 for trunk/Global.php


Ignore:
Timestamp:
Sep 12, 2020, 12:04:32 AM (4 years ago)
Author:
chronos
Message:
  • Added: Support for locales and czech language. It can be switched on from top language selector.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Global.php

    r32 r39  
    1616
    1717  return $Config['BaseURL'].$URL;
     18}
     19
     20function GetRemoteAddress()
     21{
     22  if (array_key_exists('REMOTE_ADDR', $_SERVER)) $IP = $_SERVER['REMOTE_ADDR'];
     23    else $IP = '';
     24  return $IP;
    1825}
    1926
Note: See TracChangeset for help on using the changeset viewer.