mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
맴버모듈의 프로필이미지설정값을 지정하지 않아도 90으로 고정
This commit is contained in:
parent
1577e66fa1
commit
4877eba012
3 changed files with 5 additions and 5 deletions
|
|
@ -66,8 +66,8 @@ class member extends ModuleObject {
|
|||
if(!$config->image_name_max_height) $config->image_name_max_height = '20';
|
||||
if(!$config->image_mark_max_width) $config->image_mark_max_width = '20';
|
||||
if(!$config->image_mark_max_height) $config->image_mark_max_height = '20';
|
||||
if(!$config->profile_image_max_width) $config->profile_image_max_width = '80';
|
||||
if(!$config->profile_image_max_height) $config->profile_image_max_height = '80';
|
||||
if(!$config->profile_image_max_width) $config->profile_image_max_width = '90';
|
||||
if(!$config->profile_image_max_height) $config->profile_image_max_height = '90';
|
||||
if($config->group_image_mark!='Y') $config->group_image_mark = 'N';
|
||||
if(!$config->password_strength) $config->password_strength = 'normal';
|
||||
|
||||
|
|
|
|||
|
|
@ -711,7 +711,7 @@ class memberController extends member
|
|||
$max_width = $config->profile_image_max_width;
|
||||
if(!$max_width) $max_width = "90";
|
||||
$max_height = $config->profile_image_max_height;
|
||||
if(!$max_height) $max_height = "20";
|
||||
if(!$max_height) $max_height = "90";
|
||||
// Get a target path to save
|
||||
$target_path = sprintf('files/member_extra_info/profile_image/%s', getNumberingPath($member_srl));
|
||||
FileHandler::makeDir($target_path);
|
||||
|
|
|
|||
|
|
@ -57,8 +57,8 @@ class memberModel extends member
|
|||
if(!$config->image_name_max_height) $config->image_name_max_height = 20;
|
||||
if(!$config->image_mark_max_width) $config->image_mark_max_width = 20;
|
||||
if(!$config->image_mark_max_height) $config->image_mark_max_height = 20;
|
||||
if(!$config->profile_image_max_width) $config->profile_image_max_width = 80;
|
||||
if(!$config->profile_image_max_height) $config->profile_image_max_height = 80;
|
||||
if(!$config->profile_image_max_width) $config->profile_image_max_width = 90;
|
||||
if(!$config->profile_image_max_height) $config->profile_image_max_height = 90;
|
||||
if(!$config->skin) $config->skin = 'default';
|
||||
if(!$config->colorset) $config->colorset = 'white';
|
||||
if(!$config->editor_skin || $config->editor_skin == 'default') $config->editor_skin = 'xpresseditor';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue