summaryrefslogtreecommitdiff
path: root/inc/pageutils.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/pageutils.php')
-rw-r--r--inc/pageutils.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/inc/pageutils.php b/inc/pageutils.php
index 8477792e0..b04f6e596 100644
--- a/inc/pageutils.php
+++ b/inc/pageutils.php
@@ -131,6 +131,21 @@ function wikiFN($id,$rev=''){
}
/**
+ * returns the full path to the mailist specified by ID
+ *
+ * The filename is URL encoded to protect Unicode chars
+ *
+ * @author Steven Danz <steven-danz@kc.rr.com>
+ */
+function wikiMN($id){
+ global $conf;
+ $id = cleanID($id);
+ $id = str_replace(':','/',$id);
+ $fn = $conf['metadir'].'/'.utf8_encodeFN($id).'.mlist';
+ return $fn;
+}
+
+/**
* returns the full path to the mediafile specified by ID
*
* The filename is URL encoded to protect Unicode chars