} else {
header('Location: '.$_SERVER['HTTP_REFERER']);
}
+ if (file_exists($full_filename)) @unlink($full_filename);
exit;
}
} else {
header('Location: '.$_SERVER['HTTP_REFERER']);
}
+ if (file_exists($full_filename)) @unlink($full_filename);
exit;
}
echo 'Error : '.$archive->errorInfo(true);
FileUtility::clr_dir($import_path);
header('Location: '.$_SERVER['HTTP_REFERER']);
+ if (file_exists($full_filename)) @unlink($full_filename);
exit;
}
//error_reporting(AT_ERROR_REPORTING);
} else {
header('Location: '.$_SERVER['HTTP_REFERER']);
}
+ if (file_exists($full_filename)) @unlink($full_filename);
exit;
}
} else {
header('Location: '.$_SERVER['HTTP_REFERER']);
}
+ if (file_exists($full_filename)) @unlink($full_filename);
exit;
}
}
FileUtility::clr_dir($import_path);
-if (isset($_REQUEST['url'])) {
- @unlink($full_filename);
-}
-
+if (file_exists($full_filename)) @unlink($full_filename);
if (!$msg->containsErrors()) {
$msg->addFeedback('ACTION_COMPLETED_SUCCESSFULLY');