wiki mimetype
This commit is contained in:
parent
5e99295bf6
commit
7489a4442e
@ -60,7 +60,7 @@ class NativeWikiPage {
|
|||||||
logger('mimetype: ' . $mimetype);
|
logger('mimetype: ' . $mimetype);
|
||||||
|
|
||||||
if(! in_array($mimetype,[ 'text/markdown','text/bbcode','text/plain','text/html']))
|
if(! in_array($mimetype,[ 'text/markdown','text/bbcode','text/plain','text/html']))
|
||||||
$mimetype = 'text/markdown;
|
$mimetype = 'text/markdown';
|
||||||
|
|
||||||
$w = Zlib\NativeWiki::get_wiki($channel_id, $observer_hash, $resource_id);
|
$w = Zlib\NativeWiki::get_wiki($channel_id, $observer_hash, $resource_id);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user