mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
importer모듈에서 회원 이미지닉네임을 제대로 이전하지 못하는 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3338 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
96408798bc
commit
baa91b6532
1 changed files with 1 additions and 0 deletions
|
|
@ -201,6 +201,7 @@
|
|||
// 이미지네임
|
||||
if($obj->image_nickname && file_exists($obj->image_nickname)) {
|
||||
$target_path = sprintf('files/member_extra_info/image_name/%s/', getNumberingPath($obj->member_srl));
|
||||
if(!is_dir($target_path)) FileHandler::makeDir($target_path);
|
||||
$target_filename = sprintf('%s%d.gif', $target_path, $obj->member_srl);
|
||||
@rename($obj->image_nickname, $target_filename);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue