1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

e_FILE.'public/' replaced with e_UPLOAD

This commit is contained in:
CaMer0n
2009-11-07 02:17:02 +00:00
parent b2986c3960
commit fbbf2f8f61
6 changed files with 21 additions and 22 deletions

View File

@@ -107,7 +107,7 @@ class forum_post_shortcodes
if ($pref['forum_attach'] && strpos(e_QUERY, 'edit') === FALSE && (check_class($pref['upload_class']) || getperms('0')))
{
if (is_writable(e_FILE.'public'))
if (is_writable(e_UPLOAD))
{
return $fileattach;
}