FreiChat related discussions
SMF 2 - 403 Forbidden Access to the folder "attachments"

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=avatar

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

We cannot use any SMF functions in freichat since freichat does not load the SMF framework and is independent

We cannot use any SMF functions in freichat since freichat does not load the SMF framework and is independent
Necessity is the mother of all inventions!
101
1
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft