Changeset 8082 for trunk/admin/include
- Timestamp:
- Dec 11, 2010, 9:09:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r8080 r8082 1705 1705 function fetchRemote($src, &$dest, $get_data=array(), $post_data=array(), $user_agent='Piwigo', $step=0) 1706 1706 { 1707 global $conf; 1708 1707 1709 // Try to retrieve data from local file? 1708 1710 if (!url_is_remote($src)) … … 1724 1726 1725 1727 // Send anonymous data to piwigo server 1726 if ($_SERVER['HTTP_HOST'] != 'localhost' and $step==0 1728 if ($conf['send_hosting_technical_details'] 1729 and $_SERVER['HTTP_HOST'] != 'localhost' and $step==0 1727 1730 and preg_match('#^http://(?:[a-z]+\.)?piwigo\.org#', $src)) 1728 1731 { 1729 global $conf;1730 1731 1732 $post_data = array_merge($post_data, array( 1732 1733 'uuid' => hash_hmac('md5', get_absolute_root_url(), $conf['secret_key']),
Note: See TracChangeset
for help on using the changeset viewer.