From 662ff478e5ec1f838965b9d1a5449847ddd3ceed Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 7 Jul 2006 13:55:43 +0200 Subject: 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 --- inc/pageutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/pageutils.php') 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'; } -- cgit v1.2.3