diff options
author | patdenice <patdenice@piwigo.org> | 2010-12-11 21:37:44 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2010-12-11 21:37:44 +0000 |
commit | f92ab95b10fdc4e14255792c7c46b1f53965da2e (patch) | |
tree | 3673f949b7f2a4e105af3386a490701c513ccbbb /admin/site_manager.php | |
parent | cf6e62318d198d00a002ab3fde1a2d47d418967a (diff) |
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
Diffstat (limited to 'admin/site_manager.php')
-rw-r--r-- | admin/site_manager.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/admin/site_manager.php b/admin/site_manager.php index cb3a69318..b125f6181 100644 --- a/admin/site_manager.php +++ b/admin/site_manager.php @@ -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]); |