Changeset 8080
- Timestamp:
- Dec 11, 2010, 9:01:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r8079 r8080 1723 1723 if ($step > 3) return false; 1724 1724 1725 // Initialization1726 $method = empty($post_data) ? 'GET' : 'POST';1727 $request = empty($post_data) ? '' : http_build_query($post_data, '', '&');1728 $src = add_url_params($src, $get_data, '&');1729 1730 1725 // Send anonymous data to piwigo server 1731 1726 if ($_SERVER['HTTP_HOST'] != 'localhost' and $step==0 … … 1734 1729 global $conf; 1735 1730 1736 $ src = add_url_params($src, array(1731 $post_data = array_merge($post_data, array( 1737 1732 'uuid' => hash_hmac('md5', get_absolute_root_url(), $conf['secret_key']), 1738 1733 'os' => urlencode(PHP_OS), … … 1743 1738 ) 1744 1739 ); 1745 $src = str_replace('&', '&', $src); 1746 } 1740 } 1741 1742 // Initialization 1743 $method = empty($post_data) ? 'GET' : 'POST'; 1744 $request = empty($post_data) ? '' : http_build_query($post_data, '', '&'); 1745 $src = add_url_params($src, $get_data, '&'); 1747 1746 1748 1747 // Initialize $dest
Note: See TracChangeset
for help on using the changeset viewer.