mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 09:14:48 +09:00
프로필 사진의 기본사이즈 값 불일치 이슈 해결
This commit is contained in:
parent
4877eba012
commit
ea37270bd0
1 changed files with 3 additions and 2 deletions
|
|
@ -705,8 +705,9 @@ class memberController extends member
|
||||||
// Check uploaded file
|
// Check uploaded file
|
||||||
if(!checkUploadedFile($target_file)) return;
|
if(!checkUploadedFile($target_file)) return;
|
||||||
|
|
||||||
$oModuleModel = getModel('module');
|
$oMemberModel = getModel('member');
|
||||||
$config = $oModuleModel->getModuleConfig('member');
|
$config = $oMemberModel->getMemberConfig();
|
||||||
|
|
||||||
// Get an image size
|
// Get an image size
|
||||||
$max_width = $config->profile_image_max_width;
|
$max_width = $config->profile_image_max_width;
|
||||||
if(!$max_width) $max_width = "90";
|
if(!$max_width) $max_width = "90";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue