diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 38a5fc8..2b1cffa 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -155,7 +155,7 @@ $external = array( 'css-dropzone' => '', 'css-font-awesome' => '', 'css-highlightjs' => '', - 'js-ace' => '', + 'js-monaco' => '', 'js-bootstrap' => '', 'js-dropzone' => '', 'js-jquery' => '', @@ -1841,7 +1841,7 @@ if (isset($_GET['view'])) { - @@ -1934,7 +1934,7 @@ if (isset($_GET['edit']) && !FM_READONLY) { // normal editer $isNormalEditor = true; if (isset($_GET['env'])) { - if ($_GET['env'] == "ace") { + if ($_GET['env'] == "monaco") { $isNormalEditor = false; } } @@ -1965,19 +1965,19 @@ if (isset($_GET['edit']) && !FM_READONLY) {