Changeset 8238 for trunk/admin
- Timestamp:
- Dec 22, 2010, 10:57:50 PM (13 years ago)
- Location:
- trunk/admin/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r8125 r8238 2055 2055 return $tag_ids; 2056 2056 } 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 }2077 2057 ?> -
trunk/admin/include/languages.class.php
r8084 r8238 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)) -
trunk/admin/include/plugins.class.php
r8084 r8238 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)) -
trunk/admin/include/themes.class.php
r8084 r8238 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))
Note: See TracChangeset
for help on using the changeset viewer.