diff options
author | vdigital <vdigital@piwigo.org> | 2006-12-16 09:16:59 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2006-12-16 09:16:59 +0000 |
commit | eef3bf079dc63c34739092853a3c0a1b424bb899 (patch) | |
tree | 7e1b8e65d70dad64a036a64a8924424e4067dcd4 /include | |
parent | f44a7d2cbaf6c1fec61a16d65d0c9e2bd26f354c (diff) |
Web Service delivery part Admin 1
git-svn-id: http://piwigo.org/svn/trunk@1660 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r-- | include/config_default.inc.php | 20 |
1 files changed, 20 insertions, 0 deletions
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); + ?> |