- ws accepts method name in GET paraeters even if http method is POST (easier to see in apache logs)

- picture rating is done through POST and not GET

git-svn-id: http://piwigo.org/svn/trunk@11834 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2011-07-26 04:34:36 +00:00
parent 41202b1f2b
commit dd212fc6a1
3 changed files with 9 additions and 4 deletions
+4
View File
@@ -41,6 +41,10 @@ class PwgRestRequestHandler
$params[$name]=$value;
}
}
if ( empty($method) && isset($_GET['method']) )
{
$method = $_GET['method'];
}
if ( empty($method) )
{