Changeset 8020 for trunk/admin/include/functions.php
- Timestamp:
- Dec 7, 2010, 1:37:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r7724 r8020 1720 1720 } 1721 1721 1722 // Send anonymous data to piwigo server 1723 if ($_SERVER['HTTP_HOST'] != 'localhost' and $step==0 1724 and preg_match('#^http://(?:[a-z]+\.)?piwigo\.org#', $src)) 1725 { 1726 global $conf; 1727 1728 $src = add_url_params($src, array( 1729 'uuid' => hash_hmac('md5', get_absolute_root_url(), $conf['secret_key']), 1730 'os' => urlencode(PHP_OS), 1731 'phpversion' => urlencode(phpversion()), 1732 'dbengine' => urlencode(DB_ENGINE), 1733 'dbversion' => urlencode(pwg_get_db_version()), 1734 ) 1735 ); 1736 $src = str_replace('&', '&', $src); 1737 } 1738 1722 1739 // After 3 redirections, return false 1723 1740 if ($step > 3) return false;
Note: See TracChangeset
for help on using the changeset viewer.