From ea64e421cb529637a6aa7fad7b0b881b3c224fad Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 11 Dec 2010 21:08:43 +0000 Subject: feature 2057: use $get_data parameter to send GET data. git-svn-id: http://piwigo.org/svn/trunk@8083 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/site_manager.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'admin/site_manager.php') 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]); -- cgit v1.2.3