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

@ -45,6 +45,7 @@ class editorAdminView extends editor
$component_list = $oEditorModel->getComponentList(false, $site_srl, true);
$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); });
$skin_info = $oModuleModel->loadSkinInfo($this->module_path,$editor_config->editor_skin);
$comment_skin_info = $oModuleModel->loadSkinInfo($this->module_path,$editor_config->comment_editor_skin);