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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user