From 1380fc452d56dd6f48ddbfa3a6b0e69edd043b04 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 6 Aug 2005 23:20:00 +0200 Subject: changes to the page subscription feature darcs-hash:20050806212000-7ad00-c5ab54a33289f8be0ce99443f82f0b3cf1bdbf0d.gz --- inc/pageutils.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'inc/pageutils.php') diff --git a/inc/pageutils.php b/inc/pageutils.php index b04f6e596..1e0792b7d 100644 --- a/inc/pageutils.php +++ b/inc/pageutils.php @@ -4,6 +4,7 @@ * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Andreas Gohr + * @todo Combine similar functions like {wiki,media,meta}FN() */ /** @@ -131,17 +132,17 @@ function wikiFN($id,$rev=''){ } /** - * returns the full path to the mailist specified by ID + * returns the full path to the meta file specified by ID and extension * * The filename is URL encoded to protect Unicode chars * * @author Steven Danz */ -function wikiMN($id){ +function metaFN($id,$ext){ global $conf; $id = cleanID($id); $id = str_replace(':','/',$id); - $fn = $conf['metadir'].'/'.utf8_encodeFN($id).'.mlist'; + $fn = $conf['metadir'].'/'.utf8_encodeFN($id).$ext; return $fn; } -- cgit v1.2.3