Example #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);
}
Example #2
0
/**
 * check uploaded file which may be hacking attempts
 *
 * @param string $file Taget file path
 * @return bool
 */
function checkUploadedFile($file)
{
    return UploadFileFilter::check($file);
}