mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 01:32:59 +02:00
web services:
- respect conf['allow_web_services'] - added conf['ws_max_images_per_page'] to limit the number of images returned per web call - fixes for Vincent's partners - added comments git-svn-id: http://piwigo.org/svn/trunk@1781 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -588,18 +588,20 @@ $conf['enable_plugins']=true;
|
||||
// | Set default for Web Service |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
// Web services are allowed (true) or completely forbidden (false)
|
||||
$conf['allow_web_services'] = true;
|
||||
|
||||
// Maximum number of images to be returned foreach call to the web service
|
||||
$conf['ws_max_images_per_page'] = 500;
|
||||
|
||||
// On Access control false
|
||||
// Controls are done on public basis or
|
||||
// if connected on member authorization basis
|
||||
|
||||
$conf['ws_access_control'] = false;
|
||||
$conf['ws_access_control'] = false;
|
||||
|
||||
// On Access control true
|
||||
// Additionnal controls are made based on Web Service Access Table
|
||||
|
||||
// Web services are accepted
|
||||
$conf['allow_web_services'] = true;
|
||||
|
||||
// Max returned rows number ( > 0 )
|
||||
$conf['ws_allowed_limit'] = array(1,2,3,5,10,25);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user