From 595bfbaf113162a8e220099f35cbb71361116215 Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 5 Apr 2021 16:54:17 +0900 Subject: [PATCH] =?UTF-8?q?=EC=97=90=EB=94=94=ED=84=B0=20=EC=9D=B4?= =?UTF-8?q?=EB=AF=B8=EC=A7=80=20=EC=97=85=EB=A1=9C=EB=93=9C=20HOOK=20?= =?UTF-8?q?=EC=9D=B4=EB=B2=A4=ED=8A=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/editor/cheditor5/imageUpload/upload.php | 2 ++ plugin/editor/smarteditor2/photo_uploader/popup/php/index.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/plugin/editor/cheditor5/imageUpload/upload.php b/plugin/editor/cheditor5/imageUpload/upload.php index 0c345ed86..0d675e91b 100644 --- a/plugin/editor/cheditor5/imageUpload/upload.php +++ b/plugin/editor/cheditor5/imageUpload/upload.php @@ -69,6 +69,8 @@ if( !$is_editor_upload ){ exit; } +run_event('cheditor_photo_upload', $data_dir, $data_url); + //---------------------------------------------------------------------------- // // diff --git a/plugin/editor/smarteditor2/photo_uploader/popup/php/index.php b/plugin/editor/smarteditor2/photo_uploader/popup/php/index.php index 510ac0f24..65d69c051 100644 --- a/plugin/editor/smarteditor2/photo_uploader/popup/php/index.php +++ b/plugin/editor/smarteditor2/photo_uploader/popup/php/index.php @@ -40,6 +40,8 @@ if( isset($_GET['_nonce']) && ft_nonce_is_valid( $_GET['_nonce'] , 'smarteditor' } if( $is_editor_upload ) { + + run_event('smarteditor_photo_upload', $data_dir, $data_url); require('UploadHandler.php'); $options = array(