equal
deleted
inserted
replaced
1064 @unlink($tempfile); |
1064 @unlink($tempfile); |
1065 echo '<div class="error-box">' . $lang->get('usercp_avatar_corrupt_image') . '</div>'; |
1065 echo '<div class="error-box">' . $lang->get('usercp_avatar_corrupt_image') . '</div>'; |
1066 break; |
1066 break; |
1067 } |
1067 } |
1068 // Is the image animated? |
1068 // Is the image animated? |
1069 if ( $is_animated && getConfig('avatar_enable_anim') !== '1' ) |
1069 if ( $is_animated && getConfig('avatar_enable_anim', 0) !== 1 ) |
1070 { |
1070 { |
1071 @unlink($tempfile); |
1071 @unlink($tempfile); |
1072 echo '<div class="error-box">' . $lang->get('usercp_avatar_disallowed_animation') . '</div>'; |
1072 echo '<div class="error-box">' . $lang->get('usercp_avatar_disallowed_animation') . '</div>'; |
1073 break; |
1073 break; |
1074 } |
1074 } |