주석 처리
This commit is contained in:
1 parent
dff2c45acc
commit
0ae22667a0
1 file changed
+2
-1
@@ -633,7 +633,8 @@ function social_register_member_check($member){
|
||||
}
|
||||
|
||||
function social_profile_img_resize($path, $file_url, $width, $height){
|
||||
|
||||
|
||||
// getimagesize 경우 php.ini 에서 allow_url_fopen 이 활성화 되어 있어야 원격이미지를 읽어올수 있습니다.
|
||||
list($w, $h, $ext) = @getimagesize($file_url);
|
||||
if( $w && $h && $ext ){
|
||||
$ratio = max($width/$w, $height/$h);
|
||||
|
||||
Reference in new issue
Block a user