Skip to content

Commit

Permalink
Fix issue with CodeMirror default config
Browse files Browse the repository at this point in the history
  • Loading branch information
instantflorian committed Feb 11, 2023
1 parent a6c46da commit fea797e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions wbce/install/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit fea797e

Please sign in to comment.