plugin/attach.inc.php¤Î160¹Ô¤¢¤¿¤ê
function attach_upload($file, $page, $pass = NULL)
{
global $_attach_messages, $notify, $notify_subject;
if (PKWK_READONLY) die_message('PKWK_READONLY prohibits editing');
+ if (preg_match('/\.(htm|html|exe)$/i',$file['name'])) die_message('Neither HTML nor EXE file are permitted.');
Last-modified: 2008-06-14 Sat 19:27:47 JST (6393d)