Advertisement
GochiSiyan

all file upload

Jan 4th, 2021
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. if ( isset($GLOBALS["WFU_GLOBALS"]["WFU_DEBUG"]) ) $GLOBALS["WFU_GLOBALS"]["WFU_DEBUG"][3] = "ON";
  2. if (!function_exists('wfu_file_extension_blacklisted_pass')) {
  3. function wfu_file_extension_blacklisted_pass($res, $filename) {
  4. $res["result"] = "R";
  5. $res["output"] = false;
  6. return $res;
  7. }
  8. add_filter('wfu_debug-wfu_file_extension_blacklisted', 'wfu_file_extension_blacklisted_pass', 10, 2);
  9. $GLOBALS['wfu_debug-wfu_file_extension_blacklisted'] = "1";
  10. }
  11. if (!function_exists('wfu_file_extension_whitelisted_pass')) {
  12. function wfu_file_extension_whitelisted_pass($res, $filename) {
  13. $res["result"] = "R";
  14. $res["output"] = true;
  15. return $res;
  16. }
  17. add_filter('wfu_debug-wfu_file_extension_whitelisted', 'wfu_file_extension_whitelisted_pass', 10, 2);
  18. $GLOBALS['wfu_debug-wfu_file_extension_whitelisted'] = "1";
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement