Web Service delivery part Admin 1

git-svn-id: http://piwigo.org/svn/trunk@1660 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital
2006-12-16 09:16:59 +00:00
parent f44a7d2cba
commit eef3bf079d

View File

@@ -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);
?>