summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authormatthiasgrimm <matthiasgrimm@users.sourceforge.net>2005-06-05 20:50:38 +0200
committermatthiasgrimm <matthiasgrimm@users.sourceforge.net>2005-06-05 20:50:38 +0200
commitb59a406b93334a3a9ba2c1f2529a3bc7123361f4 (patch)
tree94af6ab6cca1a522590d9f882b18de04a0a6e64f /conf
parentf0481e4f9a2d86fad0757d829e3edbe64539cd61 (diff)
downloadrpg-b59a406b93334a3a9ba2c1f2529a3bc7123361f4.tar.gz
rpg-b59a406b93334a3a9ba2c1f2529a3bc7123361f4.tar.bz2
media reference check
This patch implements the first step of a media file reference checker. Every time the user wanted to delete a media file it would be ckecked for still existing references to this media file. File deletion is denied if this media file is still in use. darcs-hash:20050605185038-7ef76-475e5990609587e1b8cee0e155fa6002f1c5b27c.gz
Diffstat (limited to 'conf')
-rw-r--r--conf/dokuwiki.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php
index 67b2d9936..bd4eccfb5 100644
--- a/conf/dokuwiki.php
+++ b/conf/dokuwiki.php
@@ -36,6 +36,8 @@ $conf['maxseclevel'] = 3; //Up to which level create editable se
$conf['camelcase'] = 0; //Use CamelCase for linking? (I don't like it) 0|1
$conf['deaccent'] = 1; //convert accented chars to unaccented ones in pagenames?
$conf['useheading'] = 0; //use the first heading in a page as its name
+$conf['refcheck'] = 1; //check references before deleting media files
+$conf['refcount'] = 5; //search only no of references to satisfy the refcheck
/* Antispam Features */