From 99c8d7f21203dc68bb191d77e01c2f8a6f0cf5a0 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 18 Jan 2009 16:43:45 +0100 Subject: 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 --- inc/init.php | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/init.php') 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'; } /** -- cgit v1.2.3