mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 08:12:17 +09:00
fixed upload image file in member info
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9213 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c3cc22e7db
commit
251e5ec87e
4 changed files with 55 additions and 15 deletions
|
|
@ -600,6 +600,22 @@
|
|||
// Execute insert or update depending on the value of member_srl
|
||||
$output = $this->updateMember($args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
$profile_image = $_FILES['profile_image'];
|
||||
if (is_uploaded_file($profile_image['tmp_name'])){
|
||||
$this->insertProfileImage($args->member_srl, $profile_image['tmp_name']);
|
||||
}
|
||||
|
||||
$image_mark = $_FILES['image_mark'];
|
||||
if (is_uploaded_file($image_mark['tmp_name'])){
|
||||
$this->insertImageMark($args->member_srl, $image_mark['tmp_name']);
|
||||
}
|
||||
|
||||
$image_name = $_FILES['image_name'];
|
||||
if (is_uploaded_file($image_name['tmp_name'])){
|
||||
$this->insertImageName($args->member_srl, $image_name['tmp_name']);
|
||||
}
|
||||
|
||||
// Save Signature
|
||||
$signature = Context::get('signature');
|
||||
$this->putSignature($args->member_srl, $signature);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue