diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-09-16 23:02:29 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-09-16 23:02:29 +0200 |
commit | c29dc6e4219a920b505ef667b82d4f601b34e52b (patch) | |
tree | f0452805b813f07a1dc41cfd82c806ef420ab27a /doku.php | |
parent | 036b9e65c9e0a73373ee513b644825df2edf14d7 (diff) | |
download | rpg-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 'doku.php')
-rw-r--r-- | doku.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -63,6 +63,9 @@ //prepare breadcrumbs (initialize a static var) breadcrumbs(); + // check upstream + checkUpdateMessages(); + trigger_event('DOKUWIKI_STARTED',$tmp=array()); //close session |