Restore data htaccess on admin and write upload
This commit is contained in:
1 parent
9869be5970
commit
ff9a7534ed
3 files changed
+50
-1
No files matched your search
@@ -484,6 +484,11 @@ $file_upload_msg = '';
|
||||
$upload = array();
|
||||
|
||||
if(isset($_FILES['bf_file']['name']) && is_array($_FILES['bf_file']['name'])) {
|
||||
|
||||
if (function_exists('g5_check_data_htaccess')) {
|
||||
g5_check_data_htaccess();
|
||||
}
|
||||
|
||||
$bf_file_cnt = count($_FILES['bf_file']['name']);
|
||||
for ($i=0; $i<$bf_file_cnt; $i++) {
|
||||
$upload[$i]['file'] = '';
|
||||
@@ -776,4 +781,4 @@ run_event('write_update_after', $board, $wr_id, $w, $qstr, $redirect_url);
|
||||
if ($file_upload_msg)
|
||||
alert($file_upload_msg, $redirect_url);
|
||||
else
|
||||
goto_url($redirect_url);
|
||||
goto_url($redirect_url);
|
||||
Reference in new issue
Block a user