From dd339aa6c50267337e786e9e20811b535edd985b Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 6 Feb 2007 01:02:06 +0000 Subject: 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 --- include/config_default.inc.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'include/config_default.inc.php') diff --git a/include/config_default.inc.php b/include/config_default.inc.php index e0d24e791..8e6a190c9 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -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); -- cgit v1.2.3