Changeset 8238


Ignore:
Timestamp:
12/22/10 22:57:50 (8 years ago)
Author:
plg
Message:

feature 2048 removed (and was never released): no data are sent anonymously to piwigo.org for statistics purpose

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions.php

    r8125 r8238  
    20552055  return $tag_ids; 
    20562056} 
    2057  
    2058 function get_hosting_technical_details() 
    2059 { 
    2060   global $conf; 
    2061  
    2062   $details = array(); 
    2063   if ($conf['send_hosting_technical_details'] and $_SERVER['HTTP_HOST'] != 'localhost') 
    2064   { 
    2065     $details = array( 
    2066       'uuid' => hash_hmac('md5', get_absolute_root_url(), $conf['secret_key']), 
    2067       'os' => PHP_OS, 
    2068       'pwgversion' => PHPWG_VERSION, 
    2069       'phpversion' => phpversion(), 
    2070       'dbengine' => DB_ENGINE, 
    2071       'dbversion' => pwg_get_db_version(), 
    2072     ); 
    2073   } 
    2074  
    2075   return $details; 
    2076 } 
    20772057?> 
  • trunk/admin/include/languages.class.php

    r8084 r8238  
    206206    $versions_to_check = array(); 
    207207    $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)) 
    209209    { 
    210210      if (!preg_match('/^\d+\.\d+\.\d+/', $version)) 
  • trunk/admin/include/plugins.class.php

    r8084 r8238  
    300300    $versions_to_check = array(); 
    301301    $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)) 
    303303    { 
    304304      if (!preg_match('/^\d+\.\d+\.\d+/', $version)) 
  • trunk/admin/include/themes.class.php

    r8084 r8238  
    457457    $versions_to_check = array(); 
    458458    $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)) 
    460460    { 
    461461      if (!preg_match('/^\d+\.\d+\.\d+/', $version)) 
  • trunk/include/config_default.inc.php

    r8127 r8238  
    488488// gives an empty value '' to deactivate 
    489489$conf['show_php_errors'] = E_ALL; 
    490  
    491 // sends your hosting PHP and MySQL versions to piwigo.org as anonymously as 
    492 // possible, for statistics purpose. No personnal data are transmitted 
    493 $conf['send_hosting_technical_details'] = true; 
    494490 
    495491// +-----------------------------------------------------------------------+ 
Note: See TracChangeset for help on using the changeset viewer.