[修正] 升級 phpBB 3.0.1 後, ACP 之附加檔案設定錯誤
發表於 : 2008-04-10 21:46
升級 phpBB 3.0.1 後, 眼尖的您, 應該早已發現這 (ACP 之附加檔案設定) 部分多了幾行沒用的字.
我猜想:
這是此版的 BUG!
以下的修改, 提供您參考:
#
#-----[ OPEN ]-----
#
includes/acp/acp_attachments.php
#
#-----[ FIND ]-----
#
#
#-----[ REPLACE WITH ]-----
#
#
#-----[ SAVE & CLOSE ]-----
#
這是此版的 BUG!
以下的修改, 提供您參考:
#
#-----[ OPEN ]-----
#
includes/acp/acp_attachments.php
#
#-----[ FIND ]-----
#
代碼: 選擇全部
'img_max_width' => array('lang' => 'MAX_IMAGE_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false,),
'img_max_height' => array('lang' => 'MAX_IMAGE_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false,),
'img_link_width' => array('lang' => 'IMAGE_LINK_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false,),
'img_link_height' => array('lang' => 'IMAGE_LINK_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false,),#-----[ REPLACE WITH ]-----
#
代碼: 選擇全部
/*
'img_max_width' => array('lang' => 'MAX_IMAGE_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false,),
'img_max_height' => array('lang' => 'MAX_IMAGE_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false,),
'img_link_width' => array('lang' => 'IMAGE_LINK_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false,),
'img_link_height' => array('lang' => 'IMAGE_LINK_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false,),
*/#-----[ SAVE & CLOSE ]-----
#