aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/config_default.inc.php')
-rw-r--r--include/config_default.inc.php20
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);
+
?>