aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-04-03 12:36:32 +0000
committermistic100 <mistic@piwigo.org>2011-04-03 12:36:32 +0000
commit53dc1f54601b3d537c92272c179cb857fab70a57 (patch)
tree59392c2872d18e2499c748fdfa3739232f71a01a /ws.php
parentdba1f4950f18dd96483fca7125f423cf5f063d81 (diff)
add pwg.getInfos method in PWG API
git-svn-id: http://piwigo.org/svn/trunk@10017 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--ws.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index c2d2115d7..7bc4dc21c 100644
--- a/ws.php
+++ b/ws.php
@@ -42,6 +42,9 @@ function ws_addDefaultMethods( $arr )
$service = &$arr[0];
$service->addMethod('pwg.getVersion', 'ws_getVersion', null,
'retrieves the PWG version');
+
+ $service->addMethod('pwg.getInfos', 'ws_getInfos', null,
+ 'retrieves general informations');
$service->addMethod('pwg.caddie.add', 'ws_caddie_add',
array(