aboutsummaryrefslogtreecommitdiffstats
path: root/admin/site_manager.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-12-11 21:08:43 +0000
committerpatdenice <patdenice@piwigo.org>2010-12-11 21:08:43 +0000
commitea64e421cb529637a6aa7fad7b0b881b3c224fad (patch)
tree5fee4972f4dbf77c9be953a3e1259b4a6fcf619e /admin/site_manager.php
parent4ae512231a8817db2f0fbddafd3ed6195153d01c (diff)
feature 2057: use $get_data parameter to send GET data.
git-svn-id: http://piwigo.org/svn/trunk@8083 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/site_manager.php8
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]);