mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
#r18940383 파일 업로드시 실패 message 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7582 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
041aaa8f25
commit
e4575cd65a
10 changed files with 28 additions and 2 deletions
|
|
@ -417,7 +417,7 @@
|
|||
}
|
||||
|
||||
// 디렉토리 생성
|
||||
if(!FileHandler::makeDir($path)) return false;
|
||||
if(!FileHandler::makeDir($path)) return new Object(-1,'msg_not_permitted_create');
|
||||
|
||||
// 파일 이동
|
||||
if($manual_insert) {
|
||||
|
|
@ -431,7 +431,7 @@
|
|||
if(!@move_uploaded_file($file_info['tmp_name'], $filename)) {
|
||||
$ext = substr(strrchr($file_info['name'],'.'),1);
|
||||
$filename = $path. md5(crypt(rand(1000000,900000).$file_info['name'])).'.'.$ext;
|
||||
if(!@move_uploaded_file($file_info['tmp_name'], $filename)) return false;
|
||||
if(!@move_uploaded_file($file_info['tmp_name'], $filename)) return new Object(-1,'msg_file_upload_error');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -53,4 +53,7 @@
|
|||
'ipaddress' => 'IP Address',
|
||||
);
|
||||
$lang->msg_not_allowed_outlink = 'It is not allowed to download files not from this site.';
|
||||
$lang->msg_not_permitted_create = '파일 또는 디렉토리를 생성할 수 없습니다.';
|
||||
$lang->msg_file_upload_error = '파일 업로드 중 에러가 발생하였습니다.';
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -50,4 +50,7 @@
|
|||
'ipaddress' => 'Dirección IP',
|
||||
);
|
||||
$lang->msg_not_allowed_outlink = 'It is not allowed to download files not from this site.';
|
||||
$lang->msg_not_permitted_create = '파일 또는 디렉토리를 생성할 수 없습니다.';
|
||||
$lang->msg_file_upload_error = '파일 업로드 중 에러가 발생하였습니다.';
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -50,4 +50,7 @@
|
|||
'ipaddress' => 'Adresse IP',
|
||||
);
|
||||
$lang->msg_not_allowed_outlink = 'It is not allowed to download files not from this site.';
|
||||
$lang->msg_not_permitted_create = '파일 또는 디렉토리를 생성할 수 없습니다.';
|
||||
$lang->msg_file_upload_error = '파일 업로드 중 에러가 발생하였습니다.';
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -52,4 +52,7 @@
|
|||
'ipaddress' => 'IPアドレス',
|
||||
);
|
||||
$lang->msg_not_allowed_outlink = 'It is not allowed to download files not from this site.';
|
||||
$lang->msg_not_permitted_create = '파일 또는 디렉토리를 생성할 수 없습니다.';
|
||||
$lang->msg_file_upload_error = '파일 업로드 중 에러가 발생하였습니다.';
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -52,4 +52,6 @@
|
|||
'ipaddress' => 'IP 주소',
|
||||
);
|
||||
$lang->msg_not_allowed_outlink = '외부링크에서 다운로드 할 수 없습니다.';
|
||||
$lang->msg_not_permitted_create = '파일 또는 디렉토리를 생성할 수 없습니다.';
|
||||
$lang->msg_file_upload_error = '파일 업로드 중 에러가 발생하였습니다.';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -52,4 +52,7 @@
|
|||
'ipaddress' => 'IP-Адрес',
|
||||
);
|
||||
$lang->msg_not_allowed_outlink = 'It is not allowed to download files not from this site.';
|
||||
$lang->msg_not_permitted_create = '파일 또는 디렉토리를 생성할 수 없습니다.';
|
||||
$lang->msg_file_upload_error = '파일 업로드 중 에러가 발생하였습니다.';
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -56,4 +56,7 @@
|
|||
'ipaddress' => 'IP',
|
||||
);
|
||||
$lang->msg_not_allowed_outlink = 'Không cho phép tải file từ những trang khác ngoài trang này.';
|
||||
$lang->msg_not_permitted_create = '파일 또는 디렉토리를 생성할 수 없습니다.';
|
||||
$lang->msg_file_upload_error = '파일 업로드 중 에러가 발생하였습니다.';
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -50,4 +50,7 @@
|
|||
'ipaddress' => 'IP地址',
|
||||
);
|
||||
$lang->msg_not_allowed_outlink = 'It is not allowed to download files not from this site.';
|
||||
$lang->msg_not_permitted_create = '파일 또는 디렉토리를 생성할 수 없습니다.';
|
||||
$lang->msg_file_upload_error = '파일 업로드 중 에러가 발생하였습니다.';
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -52,4 +52,7 @@
|
|||
'ipaddress' => 'IP位址',
|
||||
);
|
||||
$lang->msg_not_allowed_outlink = '無法從網站下載檔案。';
|
||||
$lang->msg_not_permitted_create = '파일 또는 디렉토리를 생성할 수 없습니다.';
|
||||
$lang->msg_file_upload_error = '파일 업로드 중 에러가 발생하였습니다.';
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue