mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 17:19:59 +09:00
NOISSUE procInsertMember() upload images
This commit is contained in:
parent
3f365f1c45
commit
78914cc5dc
1 changed files with 18 additions and 0 deletions
|
|
@ -321,6 +321,24 @@ class memberController extends member
|
||||||
if(!$output->toBool()) return $output;
|
if(!$output->toBool()) return $output;
|
||||||
|
|
||||||
// insert ProfileImage, ImageName, ImageMark
|
// insert ProfileImage, ImageName, ImageMark
|
||||||
|
$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']);
|
||||||
|
}
|
||||||
|
|
||||||
// If a virtual site, join the site
|
// If a virtual site, join the site
|
||||||
$site_module_info = Context::get('site_module_info');
|
$site_module_info = Context::get('site_module_info');
|
||||||
if($site_module_info->site_srl > 0)
|
if($site_module_info->site_srl > 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue