コード例 #1
0
ファイル: func.inc.php プロジェクト: umjinsun12/dngshin
/**
 * check uploaded file which may be hacking attempts
 *
 * @param string $file Taget file path
 * @return bool
 */
function checkUploadedFile($file)
{
    require_once _XE_PATH_ . 'classes/security/UploadFileFilter.class.php';
    return UploadFileFilter::check($file);
}
コード例 #2
0
ファイル: legacy.php プロジェクト: 1Sam/rhymix
/**
 * check uploaded file which may be hacking attempts
 *
 * @param string $file Taget file path
 * @return bool
 */
function checkUploadedFile($file)
{
    return UploadFileFilter::check($file);
}