mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-17 21:16:38 +02:00
Fixed default ACE editor type.
This commit is contained in:
parent
a377625751
commit
9f30fed708
|
@ -4036,6 +4036,9 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
<?php if (isset($_GET['edit']) && isset($_GET['env']) && FM_EDIT_FILE):
|
||||
$ext = "javascript";
|
||||
$ext = pathinfo($_GET["edit"], PATHINFO_EXTENSION);
|
||||
if ($ext == "") {
|
||||
$ext = "text";
|
||||
}
|
||||
?>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/<?php echo ACE_VERSION ?>/ace.min.js"></script>
|
||||
<script>
|
||||
|
|
Loading…
Reference in a new issue