mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-02 22:12:16 +02:00
Logs are displayed with php highlights
This commit is contained in:
parent
c03e601bc3
commit
639747a12c
|
@ -1664,6 +1664,7 @@ if (isset($_GET['view'])) {
|
|||
'phtml' => 'php',
|
||||
'lock' => 'json',
|
||||
'svg' => 'xml',
|
||||
'log' => 'php',
|
||||
);
|
||||
$hljs_class = isset($hljs_classes[$ext]) ? 'lang-' . $hljs_classes[$ext] : 'lang-' . $ext;
|
||||
if (empty($ext) || in_array(strtolower($file), fm_get_text_names()) || preg_match('#\.min\.(css|js)$#i', $file)) {
|
||||
|
|
Loading…
Reference in a new issue