summaryrefslogtreecommitdiff
path: root/inc/pageutils.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-07-07 13:55:43 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-07-07 13:55:43 +0200
commit662ff478e5ec1f838965b9d1a5449847ddd3ceed (patch)
tree44914c496909f7f055c69a66b2865f3d63b4e374 /inc/pageutils.php
parent2844584ff3fc18be6cdd83e4cb80f35197a962d1 (diff)
downloadrpg-662ff478e5ec1f838965b9d1a5449847ddd3ceed.tar.gz
rpg-662ff478e5ec1f838965b9d1a5449847ddd3ceed.tar.bz2
using md5 in wikiLockFN
sha1 may not be available in all installs and md5 is sufficient for the job darcs-hash:20060707115543-7ad00-c7216f7c5f5a3908124c8cc13a06e31cb1eb883d.gz
Diffstat (limited to 'inc/pageutils.php')
-rw-r--r--inc/pageutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/pageutils.php b/inc/pageutils.php
index 4859465bb..4814a7caf 100644
--- a/inc/pageutils.php
+++ b/inc/pageutils.php
@@ -163,7 +163,7 @@ function wikiFN($id,$rev=''){
*/
function wikiLockFN($id) {
global $conf;
- return $conf['lockdir'].'/'.sha1(cleanID($id)).'.lock';
+ return $conf['lockdir'].'/'.md5(cleanID($id)).'.lock';
}