From fea797ec16b90baeb4e7b8e46c496b297f3ef90c Mon Sep 17 00:00:00 2001 From: instantflorian Date: Sat, 11 Feb 2023 19:51:01 +0100 Subject: [PATCH] Fix issue with CodeMirror default config --- wbce/install/update.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wbce/install/update.php b/wbce/install/update.php index 889bd2534..804dc2166 100644 --- a/wbce/install/update.php +++ b/wbce/install/update.php @@ -453,6 +453,14 @@ function status_msg($message, $class = 'grey', $element = 'span') * Checking Core modules for installation status and install if necessary */ +// set config of CodeMirror_Config +if(Settings::Set("cmc_cfg") == false){ + if(is_readable($sFile = WB_PATH . "/modules/CodeMirror_Config/install.php")){ + require_once $sFile; + } +} + + // Captcha Controll $file_name = WB_PATH . "/modules/captcha_control/info.php"; if (file_exists($file_name)) {