. Contact: Lyubomir Arsov, liubo (at) web-lobby.com */ include '../system.inc.php'; include 'functions.inc.php'; verifyAction('DELETEFILE'); checkAccess('DELETEFILE'); $path = RoxyFile::FixPath(trim($_POST['f'])); verifyPath($path); if (is_file(fixPath($path))) { if (unlink(fixPath($path))) { echo getSuccessRes(); } else { echo getErrorRes(t('E_DeletŠµFile') . ' ' . basename($path)); } } else { echo getErrorRes(t('E_DeleteFileInvalidPath')); }