Do not display xpresseditor as an option even if it is installed

This commit is contained in:
Kijin Sung 2017-09-28 18:07:45 +09:00
parent e3b48d2604
commit 9d95873a77
3 changed files with 3 additions and 1 deletions

View file

@ -99,6 +99,7 @@ class editorView extends editor
$oModuleModel = getModel('module');
// Get a list of editor skin
$editor_skin_list = FileHandler::readDir(_XE_PATH_.'modules/editor/skins');
$editor_skin_list = array_filter($editor_skin_list, function($name) { return !starts_with('xpresseditor', $name); });
Context::set('editor_skin_list', $editor_skin_list);
$skin_info = $oModuleModel->loadSkinInfo($this->module_path,$editor_config->editor_skin);