diff options
author | robocoder <anthon.pang@gmail.com> | 2011-04-23 02:05:46 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2011-04-23 02:05:46 +0400 |
commit | ea6a41255388341cd6acbd7be77882c7bb128506 (patch) | |
tree | 20917a627de987904941478dbf984c4b7c668b35 /libs/upgradephp | |
parent | 4307650700c494f94e79a3599a225d4245a479f9 (diff) |
fixes #1111 - add support for IPv6 addresses (tracking, anonymization, and exclusion)
fixes #2095 - add new anonymization hook (pre-heuristics)
fixes #2055 - optional IP filter when multiple proxies present
fixes #1775 - SitesManager: supports CIDR notation for IP exclusion
Notes:
* Installer no longer checks for IPv6, so the related messages should be deleted from translations
* IPv4 mapped addresses (e.g., ::ffff:127.0.0.1) are no longer re-mapped into IPv4 space
* users who to query IP addresses from MySQL directly, can use the following SQL, but inet_ntoa() is limited to IPv4 addresses:
{{{
select inet_ntoa(conv(hex(location_ip), 16, 10)) from piwik_log_visit;
}}}
* Windows: IPv6 inet_pton()/inet_ntop() not supported until php 5.3; see #2351
git-svn-id: http://dev.piwik.org/svn/trunk@4533 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/upgradephp')
-rw-r--r-- | libs/upgradephp/upgrade.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/upgradephp/upgrade.php b/libs/upgradephp/upgrade.php index 29ba562937..486bf789d6 100644 --- a/libs/upgradephp/upgrade.php +++ b/libs/upgradephp/upgrade.php @@ -1023,6 +1023,13 @@ if (!function_exists('utf8_decode')) { } } +/** + * Use strtolower if mb_strtolower doesn't exist (i.e., php not compiled with --enable-mbstring) + * This is not a functional replacement for mb_strtolower. + * + * @param string $input + * @param string $charset + */ if(!function_exists('mb_strtolower')) { function mb_strtolower($input, $charset) { return strtolower($input); |