diff options
author | zotlabs <mike@macgirvin.com> | 2017-09-14 04:06:09 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-09-14 04:06:09 -0700 |
commit | d7ec6865b4ed07f1c5d37158f5e20d97a27617a7 (patch) | |
tree | ee57e75dd111ff4c6a45bf0d2c3c494179f9420e /Zotlabs/Lib/NativeWikiPage.php | |
parent | 55aaabc2f13a36f73af944e17558b59f265322ea (diff) | |
download | volse-hubzilla-d7ec6865b4ed07f1c5d37158f5e20d97a27617a7.tar.gz volse-hubzilla-d7ec6865b4ed07f1c5d37158f5e20d97a27617a7.tar.bz2 volse-hubzilla-d7ec6865b4ed07f1c5d37158f5e20d97a27617a7.zip |
bring back wiki download
Diffstat (limited to 'Zotlabs/Lib/NativeWikiPage.php')
-rw-r--r-- | Zotlabs/Lib/NativeWikiPage.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/NativeWikiPage.php b/Zotlabs/Lib/NativeWikiPage.php index 558a70a3c..4b637781e 100644 --- a/Zotlabs/Lib/NativeWikiPage.php +++ b/Zotlabs/Lib/NativeWikiPage.php @@ -607,11 +607,11 @@ class NativeWikiPage { } static public function get_file_ext($arr) { - if($arr['mimeType'] === 'text/bbcode') + if($arr['mimetype'] === 'text/bbcode') return '.bb'; - elseif($arr['mimeType'] === 'text/markdown') + elseif($arr['mimetype'] === 'text/markdown') return '.md'; - elseif($arr['mimeType'] === 'text/plain') + elseif($arr['mimetype'] === 'text/plain') return '.txt'; } |