소스 검색

Update module_upload.php

tags/6.2.0
xushubieli 1 년 전
부모
커밋
99acd90c69
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/admin/module_upload.php

+ 2
- 2
src/admin/module_upload.php 파일 보기

@@ -24,7 +24,7 @@ if ($action == 'upload') {
} else {
include_once(DEDEINC."/libraries/zip.class.php");
$tmpfilename = $mdir.'/'.ExecTime().mt_rand(10000, 50000).'.tmp';
move_uploaded_file($upfile, $tmpfilename) or die("把上传的文件移动到 {$tmpfilename} 时失败,请检查 {$mdir} 目录是否有写入权限");
move_uploaded_file($upfile, $tmpfilename) or die("把上传的文件移动到{$tmpfilename}时失败,请检查{$mdir}目录是否有写入权限");
//ZIP格式的文件
if ($filetype == 1) {
$z = new zip();
@@ -92,7 +92,7 @@ if ($action == 'upload') {
</tr>
<tr>
<td>已有模块:</td>
<td><label><input type='checkbox' name='delhas' id='delhas' value='1'> 强制删除同名模块(这可能导致已经安装的模块无法卸载)</label></td>
<td><label><input type='checkbox' name='delhas' id='delhas' value='1'> 强制删除同名模块,这可能导致已经安装的模块无法卸载</label></td>
</tr>
<tr>
<td>请选择文件:</td>


불러오는 중...
취소
저장