hook 추가 및 여러 코드 수정
This commit is contained in:
1 parent
35ca744794
commit
a0b9cd39cb
24 files changed
+142
-51
No files matched your search
@@ -34,6 +34,10 @@ if( $file_arr[1] !== che_get_file_passname() ){
|
||||
$filepath = SAVE_DIR . '/' . $filesrc;
|
||||
$r = false;
|
||||
|
||||
if( function_exists('run_event') ){
|
||||
run_event('delete_editor_file', $filepath, $r);
|
||||
}
|
||||
|
||||
if (file_exists($filepath)) {
|
||||
$r = unlink($filepath);
|
||||
if ($r) {
|
||||
|
||||
Reference in new issue
Block a user