After installed of the mod, i have mach erros with request to folder "attachments". I find the problem - on my host in folder "attachments" has the file .htaccess with the following settings:
<files>
Order Deny,Allow
Deny from all
Allow from localhost
</files>But why a file is requested directly:
$list[$i]['avatar'] = $murl . 'attachments/' . $row['id_attach'] . '_' . $row['avatar_attachment_url'];Why not to use a functional of engine:
http://smf2mod/index.php?action=dlattach;attach=1;type=avatarAfter installed of the mod, i have mach erros with request to folder "attachments". I find the problem - on my host in folder "attachments" has the file .htaccess with the following settings:
&lt;code&gt;&lt;Files *&gt;
Order Deny,Allow
Deny from all
Allow from localhost
&lt;/Files&gt;&lt;/code&gt;
But why a file is requested directly:
&lt;code&gt;$list[$i]['avatar'] = $murl . 'attachments/' . $row['id_attach'] . '_' . $row['avatar_attachment_url'];&lt;/code&gt;
Why not to use a functional of engine:
&lt;code&gt;http://smf2mod/index.php?action=dlattach;attach=1;type=avatar&lt;/code&gt;