enhanced wiki detection in code_file.php
This commit is contained in:
parent
4557870d9c
commit
ab5dcb43f7
@ -63,10 +63,16 @@
|
||||
}
|
||||
}
|
||||
if ($octet_stream) $is_special_stream = TRUE;
|
||||
|
||||
if (!$is_special_stream) goto check_for_wiki;
|
||||
}
|
||||
else if (in_array($fileext, array('md', 'wc')))
|
||||
else
|
||||
{
|
||||
$is_wiki_file = TRUE;
|
||||
check_for_wiki:
|
||||
if (in_array($fileext, array('md', 'wc')))
|
||||
{
|
||||
$is_wiki_file = TRUE;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user