예제 #1
0
/**
 * 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);
}