diff options
author | plegall <plg@piwigo.org> | 2010-05-03 09:09:40 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-05-03 09:09:40 +0000 |
commit | 2de8344c97468ea9a833f470885243fc94ee7742 (patch) | |
tree | cdb9427718265520c178c811a40dc43c15fec7fa /ws.php | |
parent | e803366a57cd7e3784609f4f6c1ec23a0408d3e2 (diff) |
bug 1635 fixed: new API method pwg.images.checkUpload tells pLoader if Piwigo
is ready for upload (currently, it checks write access on the upload directory)
git-svn-id: http://piwigo.org/svn/trunk@6049 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'ws.php')
-rw-r--r-- | ws.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -276,6 +276,13 @@ function ws_addDefaultMethods( $arr ) ); $service->addMethod( + 'pwg.images.checkUpload', + 'ws_images_checkUpload', + null, + 'check if Piwigo is ready for upload' + ); + + $service->addMethod( 'pwg.images.setInfo', 'ws_images_setInfo', array( |