- Timestamp:
- Dec 7, 2010, 1:40:09 PM (13 years ago)
- Location:
- branches/2.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1
-
branches/2.1/admin/include/functions.php
r7723 r8021 1702 1702 } 1703 1703 1704 // Send anonymous data to piwigo server 1705 if ($_SERVER['HTTP_HOST'] != 'localhost' and $step==0 1706 and preg_match('#^http://(?:[a-z]+\.)?piwigo\.org#', $src)) 1707 { 1708 global $conf; 1709 1710 $src = add_url_params($src, array( 1711 'uuid' => hash_hmac('md5', get_absolute_root_url(), $conf['secret_key']), 1712 'os' => urlencode(PHP_OS), 1713 'phpversion' => urlencode(phpversion()), 1714 'dbengine' => urlencode(DB_ENGINE), 1715 'dbversion' => urlencode(pwg_get_db_version()), 1716 ) 1717 ); 1718 $src = str_replace('&', '&', $src); 1719 } 1720 1704 1721 // After 3 redirections, return false 1705 1722 if ($step > 3) return false;
Note: See TracChangeset
for help on using the changeset viewer.