summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
authormichael <michael@content-space.de>2009-01-18 16:43:45 +0100
committermichael <michael@content-space.de>2009-01-18 16:43:45 +0100
commit99c8d7f21203dc68bb191d77e01c2f8a6f0cf5a0 (patch)
tree6797f3dac32455b4ac4ba5ad8ce3ac6a1cf91bd8 /inc/init.php
parent5dfff2790d523c9e0e0c1c4bcb8abd70675a213a (diff)
downloadrpg-99c8d7f21203dc68bb191d77e01c2f8a6f0cf5a0.tar.gz
rpg-99c8d7f21203dc68bb191d77e01c2f8a6f0cf5a0.tar.bz2
Media changelog added
There is a new media changelog now, with the flag RECENTS_MEDIA_CHANGES media changes can be requested from the getRecents()-function or the new getRecentsSince()-function, that returns all changes since a given timestamp and optionally before a given timestamp. The media upload and the XML-RPC-server have been changed to use these functions. Additionally, the event MEDIA_UPLOAD_FINISH has been extended, it has a new $data-attribute (the 5th), that contains a boolean if the file does already exist and will be overwritten. darcs-hash:20090118154345-074e0-5d9a90d269e86d8c6a156ecce5cf63115c827433.gz
Diffstat (limited to 'inc/init.php')
-rw-r--r--inc/init.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/init.php b/inc/init.php
index e721cdb6c..9c4baa988 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -208,6 +208,7 @@ function init_paths(){
if ($conf['changelog_old']=='') { unset($conf['changelog_old']); }
// hardcoded changelog because it is now a cache that lives in meta
$conf['changelog'] = $conf['metadir'].'/_dokuwiki.changes';
+ $conf['media_changelog'] = $conf['metadir'].'/_media.changes';
}
/**