mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
feature 2057: use $get_data parameter to send GET data.
git-svn-id: http://piwigo.org/svn/trunk@8083 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
1 parent
4ae512231a
commit
ea64e421cb
4 files changed
+84
-38
No files matched your search
@@ -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