summaryrefslogtreecommitdiff
path: root/conf/dokuwiki.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-09-16 23:02:29 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-09-16 23:02:29 +0200
commitc29dc6e4219a920b505ef667b82d4f601b34e52b (patch)
treef0452805b813f07a1dc41cfd82c806ef420ab27a /conf/dokuwiki.php
parent036b9e65c9e0a73373ee513b644825df2edf14d7 (diff)
downloadrpg-c29dc6e4219a920b505ef667b82d4f601b34e52b.tar.gz
rpg-c29dc6e4219a920b505ef667b82d4f601b34e52b.tar.bz2
updatecheck feature
This patch adds a feature to let DokuWiki automatically check if updates are available or any other important messages (like security warnings) and then display this info to the admin user. DokuWiki will contact the URL http://www.splitbrain.org/lib/exe/msg.php with a parameter telling it which messages it already know (read from conf/msg) - the server side script then will return all new messages. The messages will be displayed until DokuWiki was upgraded or conf/msg was updated manually. Messages are cached and only checked once a day. The messenger URL will probably change before the next release. darcs-hash:20060916210229-7ad00-7ac592650e171ae4144b0eb47a751a4ca480f031.gz
Diffstat (limited to 'conf/dokuwiki.php')
-rw-r--r--conf/dokuwiki.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php
index 542431029..972c4f57e 100644
--- a/conf/dokuwiki.php
+++ b/conf/dokuwiki.php
@@ -1,6 +1,10 @@
<?php
/**
* This is DokuWiki's Main Configuration file
+ *
+ * All the default values are kept here, you should not modify it but use
+ * a local.conf.php file instaed to override the settings from here.
+ *
* This is a piece of PHP code so PHP syntax applies!
*
* For help with the configuration see http://www.splitbrain.org/dokuwiki/wiki:config
@@ -62,6 +66,7 @@ $conf['profileconfirm'] = '1'; //Require current password to confirm c
$conf['disableactions'] = ''; //comma separated list of actions to disable
/* Advanced Options */
+$conf['updatecheck'] = 1; //automatically check for new releases?
$conf['userewrite'] = 0; //this makes nice URLs: 0: off 1: .htaccess 2: internal
$conf['useslash'] = 0; //use slash instead of colon? only when rewrite is on
$conf['usedraft'] = 1; //automatically save a draft while editing (0|1)