php xe 에디터 컴포넌트 트리거 제거

2019.05.16 01:36

엘카 조회 수:9840

참고 문서  
  1. lazyload 관련 버그가 발생하고
  2. 현재 사이트에서 아예 사용하지 않으며
  3. 제거하면 관련 모듈을 로딩하지 않아 성능이 향상되므로

삭제:

DELETE FROM xe_module_trigger WHERE called_method = 'triggerEditorComponentCompile'

 

복구 (제어판에 나오지 않으므로 sql 직접 삽입)

INSERT INTO `xe_module_trigger` (`trigger_name`, `called_position`, `module`, `type`, `called_method`) VALUES

('display', 'before', 'editor', 'controller', 'triggerEditorComponentCompile');