- Timestamp:
- Dec 23, 2010, 1:27:38 AM (13 years ago)
- Location:
- branches/2.1
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/admin/include/functions.php
r8124 r8240 2037 2037 return $tag_ids; 2038 2038 } 2039 2040 function get_hosting_technical_details()2041 {2042 global $conf;2043 2044 $details = array();2045 if ($conf['send_hosting_technical_details'] and $_SERVER['HTTP_HOST'] != 'localhost')2046 {2047 $details = array(2048 'uuid' => hash_hmac('md5', get_absolute_root_url(), $conf['secret_key']),2049 'os' => PHP_OS,2050 'pwgversion' => PHPWG_VERSION,2051 'phpversion' => phpversion(),2052 'dbengine' => DB_ENGINE,2053 'dbversion' => pwg_get_db_version(),2054 );2055 }2056 2057 return $details;2058 }2059 2039 ?> -
branches/2.1/admin/include/languages.class.php
r8086 r8240 206 206 $versions_to_check = array(); 207 207 $url = PEM_URL . '/api/get_version_list.php'; 208 if (fetchRemote($url, $result, $get_data , get_hosting_technical_details()) and $pem_versions = @unserialize($result))208 if (fetchRemote($url, $result, $get_data) and $pem_versions = @unserialize($result)) 209 209 { 210 210 if (!preg_match('/^\d+\.\d+\.\d+/', $version)) -
branches/2.1/admin/include/plugins.class.php
r8086 r8240 300 300 $versions_to_check = array(); 301 301 $url = PEM_URL . '/api/get_version_list.php'; 302 if (fetchRemote($url, $result, $get_data , get_hosting_technical_details()) and $pem_versions = @unserialize($result))302 if (fetchRemote($url, $result, $get_data) and $pem_versions = @unserialize($result)) 303 303 { 304 304 if (!preg_match('/^\d+\.\d+\.\d+/', $version)) -
branches/2.1/admin/include/themes.class.php
r8086 r8240 457 457 $versions_to_check = array(); 458 458 $url = PEM_URL . '/api/get_version_list.php'; 459 if (fetchRemote($url, $result, $get_data , get_hosting_technical_details()) and $pem_versions = @unserialize($result))459 if (fetchRemote($url, $result, $get_data) and $pem_versions = @unserialize($result)) 460 460 { 461 461 if (!preg_match('/^\d+\.\d+\.\d+/', $version)) -
branches/2.1/include/config_default.inc.php
r8086 r8240 485 485 // gives an empty value '' to deactivate 486 486 $conf['show_php_errors'] = E_ALL; 487 488 // sends your hosting PHP and MySQL versions to piwigo.org as anonymously as489 // possible, for statistics purpose. No personnal data are transmitted490 $conf['send_hosting_technical_details'] = true;491 487 492 488 // +-----------------------------------------------------------------------+
Note: See TracChangeset
for help on using the changeset viewer.