bring back wiki download

This commit is contained in:
zotlabs
2017-09-14 04:06:09 -07:00
parent 55aaabc2f1
commit d7ec6865b4
3 changed files with 37 additions and 9 deletions

View File

@@ -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';
}