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

@ -215,7 +215,7 @@ class editorModel extends editor
{
$option->editor_skin = $option->skin;
}
if (!$option->editor_skin || !file_exists($this->module_path . 'skins/' . $option->editor_skin . '/editor.html'))
if (!$option->editor_skin || !file_exists($this->module_path . 'skins/' . $option->editor_skin . '/editor.html') || starts_with('xpresseditor', $option->editor_skin))
{
$option->editor_skin = $this->default_editor_config['editor_skin'];
}