1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Bugtracker #4179 partial fix - might even work this time

This commit is contained in:
e107steved
2007-11-06 20:12:32 +00:00
parent 6b3ba003ee
commit a3f4580832

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $
| $Revision: 1.12 $ | $Revision: 1.13 $
| $Date: 2007-11-05 21:18:29 $ | $Date: 2007-11-06 20:12:32 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -601,7 +601,7 @@ function process_upload()
{ {
if(strstr($upload['type'], "image")) if(strstr($upload['type'], "image"))
{ {
$fpath = "{e_PUBLIC}"; $fpath = "{e_FILE}public/";
if(isset($pref['forum_maxwidth']) && $pref['forum_maxwidth'] > 0) if(isset($pref['forum_maxwidth']) && $pref['forum_maxwidth'] > 0)
{ {
require_once(e_HANDLER."resize_handler.php"); require_once(e_HANDLER."resize_handler.php");