merge r8022 from trunk to branch 2.1

Feature 2048: send piwigo version

git-svn-id: http://piwigo.org/svn/branches/2.1@8023 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice 2010-12-07 13:23:33 +00:00
parent 2f144d33fa
commit 4713ca3a97

View file

@ -1710,6 +1710,7 @@ function fetchRemote($src, &$dest, $user_agent='Piwigo', $step=0)
$src = add_url_params($src, array(
'uuid' => hash_hmac('md5', get_absolute_root_url(), $conf['secret_key']),
'os' => urlencode(PHP_OS),
'pwgversion' => urlencode(PHPWG_VERSION),
'phpversion' => urlencode(phpversion()),
'dbengine' => urlencode(DB_ENGINE),
'dbversion' => urlencode(pwg_get_db_version()),