From eef3bf079dc63c34739092853a3c0a1b424bb899 Mon Sep 17 00:00:00 2001 From: vdigital Date: Sat, 16 Dec 2006 09:16:59 +0000 Subject: Web Service delivery part Admin 1 git-svn-id: http://piwigo.org/svn/trunk@1660 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/config_default.inc.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'include/config_default.inc.php') diff --git a/include/config_default.inc.php b/include/config_default.inc.php index a2a06ab75..6e6b39cb5 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -541,4 +541,24 @@ $conf['nbm_treatment_timeout_default'] = 20; // should we load the active plugins ? true=Yes, false=No $conf['enable_plugins']=true; + +// +-----------------------------------------------------------------------+ +// | Set default for Web Service | +// +-----------------------------------------------------------------------+ + +// 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); + +// By default can be delayed by 0, 1, 2, 3, 5, 7, 14 or 30 days +// 0 it's Now(), don't remove that one + $conf['ws_postponed_start'] = array(0,1,2,3,5,7,14,30); /* In days */ + +// By default 10, 5, 2, 1 year(s) or 6, 3, 1 month(s) +// or 15, 10, 7, 5, 1, 0 day(s) +// 0 it's temporary closed (Useful for one access) + $conf['ws_durations'] = array(3650,1825,730,365,182,91,30,15,10,7,5,1,0); + ?> -- cgit v1.2.3