mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
merge r8079, r8080, r8082, r8083, r8084 from trunk to branch 2.1
feature 2057: fetchRemote can send POST data feature 2048: Use POST to send server data feature 2048: add $conf['send_hosting_technical_details'] parameter feature 2057: use $get_data parameter to send GET data. feature 2048: send technical details only to get_version_list.php of PEM API. git-svn-id: http://piwigo.org/svn/branches/2.1@8086 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -116,9 +116,11 @@ SELECT COUNT(id) AS count
|
||||
if ( ! isset($_POST['no_check']) )
|
||||
{
|
||||
$clf_url = $url.'create_listing_file.php';
|
||||
$clf_url.= '?action=test';
|
||||
$clf_url.= '&version='.PHPWG_VERSION;
|
||||
if (fetchRemote($clf_url, $result))
|
||||
$get_data = array(
|
||||
'action' => 'test',
|
||||
'version' => PHPWG_VERSION,
|
||||
);
|
||||
if (fetchRemote($clf_url, $result, $get_data))
|
||||
{
|
||||
$lines = explode("\r\n", $result);
|
||||
$first_line = strip_tags($lines[0]);
|
||||
|
||||
Reference in New Issue
Block a user